Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001803/0.001802, allocations: 104.3 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 184.6 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7948/0.7948, allocations: 126.7 MB / 417.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001977, allocations: 59.91 kB / 0.4957 GB, free: 2.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3761, allocations: 78.87 MB / 0.5728 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003375/0.3795, allocations: 2.149 MB / 0.5749 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004572/0.3841, allocations: 4.077 MB / 0.5789 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.3843, allocations: 1.375 kB / 0.5789 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007852/0.3851, allocations: 180.4 kB / 0.579 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.3853, allocations: 77.94 kB / 0.5791 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.3859, allocations: 288.3 kB / 0.5794 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.3865, allocations: 434.4 kB / 0.5798 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3866, allocations: 55.16 kB / 0.5798 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.3868, allocations: 137.3 kB / 0.58 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.3869, allocations: 158.7 kB / 0.5801 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.387, allocations: 21.62 kB / 0.5801 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004463/0.3874, allocations: 316.8 kB / 0.5804 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.3876, allocations: 116.8 kB / 0.5806 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.3877, allocations: 172.8 kB / 0.5807 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005446/0.3883, allocations: 0.5586 MB / 0.5813 GB, free: 24.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3883, allocations: 0 / 0.5813 GB, free: 24.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3883, allocations: 0 / 0.5813 GB, free: 24.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.3883, allocations: 4.438 kB / 0.5813 GB, free: 24.97 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001309/0.3896, allocations: 0.794 MB / 0.582 GB, free: 24.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3897, allocations: 9.312 kB / 0.5821 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009903/0.3907, allocations: 181 kB / 0.5822 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007187/0.3914, allocations: 386.7 kB / 0.5826 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.3914, allocations: 14.53 kB / 0.5826 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.3915, allocations: 15.53 kB / 0.5826 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.3921, allocations: 248.5 kB / 0.5829 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3921, allocations: 0 / 0.5829 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.3921, allocations: 1.344 kB / 0.5829 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.3922, allocations: 2.781 kB / 0.5829 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000995/0.3932, allocations: 341.1 kB / 0.5832 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.3945, allocations: 0.6855 MB / 0.5839 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006076/0.3951, allocations: 216 kB / 0.5841 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005175/0.3956, allocations: 178.3 kB / 0.5842 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.68e-05/0.3957, allocations: 25.16 kB / 0.5843 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.3957, allocations: 33.81 kB / 0.5843 GB, free: 22.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.3957, allocations: 0 / 0.5843 GB, free: 22.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.001678/0.3974, allocations: 0.5679 MB / 0.5848 GB, free: 22.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.3974, allocations: 56.5 kB / 0.5849 GB, free: 22.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.3978, allocations: 438 kB / 0.5853 GB, free: 22.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.3979, allocations: 31.95 kB / 0.5853 GB, free: 22.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.398, allocations: 187.3 kB / 0.5855 GB, free: 22.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.398, allocations: 42.08 kB / 0.5856 GB, free: 21.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/0.3981, allocations: 48.09 kB / 0.5856 GB, free: 21.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.97e-05/0.3982, allocations: 355.5 kB / 0.586 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006307/0.3988, allocations: 296.9 kB / 0.5862 GB, free: 21.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/0.3994, allocations: 293.9 kB / 0.5865 GB, free: 21.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.4006, allocations: 0.5051 MB / 0.587 GB, free: 21.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.4006, allocations: 0 / 0.587 GB, free: 21.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001373/0.402, allocations: 0.7291 MB / 0.5877 GB, free: 20.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.402, allocations: 41.91 kB / 0.5878 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.402, allocations: 0 / 0.5878 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.4021, allocations: 1.094 kB / 0.5878 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.4025, allocations: 66.11 kB / 0.5878 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4026, allocations: 8.406 kB / 0.5878 GB, free: 20.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/0.4029, allocations: 56.19 kB / 0.5879 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.403, allocations: 5.562 kB / 0.5879 GB, free: 20.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.4031, allocations: 162.4 kB / 0.588 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/0.4032, allocations: 38.84 kB / 0.5881 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.4047, allocations: 434.4 kB / 0.5885 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.4047, allocations: 1.594 kB / 0.5885 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4047, allocations: 9.188 kB / 0.5885 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4047, allocations: 0 / 0.5885 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.4052, allocations: 374.1 kB / 0.5889 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4052, allocations: 0 / 0.5889 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/0.4056, allocations: 61.27 kB / 0.5889 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.4056, allocations: 3.984 kB / 0.5889 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.4056, allocations: 6.078 kB / 0.5889 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4056, allocations: 0.9375 kB / 0.5889 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4056, allocations: 3.938 kB / 0.5889 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.4068, allocations: 0.5038 MB / 0.5894 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.4069, allocations: 131.6 kB / 0.5896 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.4069, allocations: 5.094 kB / 0.5896 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.4073, allocations: 40.67 kB / 0.5896 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.06e-05/0.4074, allocations: 21.53 kB / 0.5896 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.4074, allocations: 7.609 kB / 0.5896 GB, free: 19.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002859/0.4077, allocations: 305.8 kB / 0.5899 GB, free: 19.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4077, allocations: 0 / 0.5899 GB, free: 19.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005353/0.4083, allocations: 131.5 kB / 0.59 GB, free: 19.24 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003197/0.4086, allocations: 174.1 kB / 0.5902 GB, free: 19.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.41, allocations: 0.686 MB / 0.5909 GB, free: 18.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.41, allocations: 0.9375 kB / 0.5909 GB, free: 18.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005465/0.4105, allocations: 188.4 kB / 0.5911 GB, free: 18.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.411, allocations: 63.06 kB / 0.5911 GB, free: 18.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.4121, allocations: 0.6973 MB / 0.5918 GB, free: 17.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.4123, allocations: 0.7944 MB / 0.5926 GB, free: 17.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000244/0.4125, allocations: 53.92 kB / 0.5926 GB, free: 17.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.71e-05/0.4126, allocations: 35.41 kB / 0.5927 GB, free: 17.03 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4127, allocations: 0 / 0.5927 GB, free: 17.03 MB / 446.1 MB Notification: Performance of Templates: time 0.008345/0.421, allocations: 5.466 MB / 0.598 GB, free: 11.62 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)