Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.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/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007986/0.007986, allocations: 100.7 kB / 15.73 MB, free: 6.008 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.001314/0.001315, allocations: 193.3 kB / 16.67 MB, free: 5.93 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01263/0.01263, allocations: 2.774 MB / 293.3 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 71.88 kB / 405.9 MB, free: 29.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09319/0.09444, allocations: 50.23 MB / 456.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.01924/0.1137, allocations: 19.12 MB / 475.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004979/0.1187, allocations: 6.08 MB / 481.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.119, allocations: 0 / 481.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006948/0.1198, allocations: 254.5 kB / 481.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003323/0.1231, allocations: 1.214 MB / 482.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.1235, allocations: 83.42 kB / 482.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005479/0.1241, allocations: 305.8 kB / 483.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1242, allocations: 28.73 kB / 483.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.1243, allocations: 95.53 kB / 483.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.1245, allocations: 115.4 kB / 483.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.1245, allocations: 4 kB / 483.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.7679/0.8924, allocations: 38.94 MB / 0.5101 GB, free: 35.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.8926, allocations: 31.64 kB / 0.5102 GB, free: 35.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005183/0.8931, allocations: 130.7 kB / 0.5103 GB, free: 35.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004763/0.8979, allocations: 0.506 MB / 0.5108 GB, free: 35.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.8979, allocations: 4 kB / 0.5108 GB, free: 35.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.087e-06/0.8979, allocations: 1.188 kB / 0.5108 GB, free: 35.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.488e-05/0.898, allocations: 0 / 0.5108 GB, free: 35.08 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001565/0.8995, allocations: 0.5633 MB / 0.5113 GB, free: 34.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.936e-05/0.8996, allocations: 9.594 kB / 0.5113 GB, free: 34.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/0.9009, allocations: 199.1 kB / 0.5115 GB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.9012, allocations: 188.6 kB / 0.5117 GB, free: 34.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.391e-05/0.9012, allocations: 18.62 kB / 0.5117 GB, free: 34.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/0.9013, allocations: 22.75 kB / 0.5118 GB, free: 34.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007301/0.9021, allocations: 346.5 kB / 0.5121 GB, free: 34.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.9021, allocations: 1.031 kB / 0.5121 GB, free: 34.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.9021, allocations: 11.75 kB / 0.5121 GB, free: 34.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-05/0.9022, allocations: 9.422 kB / 0.5121 GB, free: 34.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.9027, allocations: 260.2 kB / 0.5124 GB, free: 34.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002287/0.905, allocations: 2.123 MB / 0.5144 GB, free: 32.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.9052, allocations: 136.2 kB / 0.5146 GB, free: 32.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.9054, allocations: 112 kB / 0.5147 GB, free: 32.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007599/0.9062, allocations: 0.6882 MB / 0.5153 GB, free: 31.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.9062, allocations: 34.66 kB / 0.5154 GB, free: 31.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.9062, allocations: 4 kB / 0.5154 GB, free: 31.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0006339/0.9069, allocations: 185.7 kB / 0.5155 GB, free: 31.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.9069, allocations: 85.06 kB / 0.5156 GB, free: 31.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.9071, allocations: 103 kB / 0.5157 GB, free: 31.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.9071, allocations: 25.7 kB / 0.5158 GB, free: 31.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.9072, allocations: 158.7 kB / 0.5159 GB, free: 31.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.544e-05/0.9073, allocations: 104.1 kB / 0.516 GB, free: 31.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.519e-05/0.9074, allocations: 37.7 kB / 0.516 GB, free: 31.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.9075, allocations: 331 kB / 0.5164 GB, free: 30.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.725e-05/0.9075, allocations: 36.3 kB / 0.5164 GB, free: 30.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.9077, allocations: 82.52 kB / 0.5165 GB, free: 30.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.908, allocations: 143.3 kB / 0.5166 GB, free: 30.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.908, allocations: 1.031 kB / 0.5166 GB, free: 30.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004077/0.9084, allocations: 164.7 kB / 0.5168 GB, free: 30.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.9084, allocations: 5.688 kB / 0.5168 GB, free: 30.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.9085, allocations: 1.625 kB / 0.5168 GB, free: 30.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/0.9085, allocations: 3.875 kB / 0.5168 GB, free: 30.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.9086, allocations: 16.44 kB / 0.5168 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.9086, allocations: 6.25 kB / 0.5168 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.263e-05/0.9087, allocations: 12.22 kB / 0.5168 GB, free: 30.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.9088, allocations: 4.766 kB / 0.5168 GB, free: 30.74 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000167/0.9089, allocations: 133.4 kB / 0.5169 GB, free: 30.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.909, allocations: 16.66 kB / 0.517 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.96e-05/0.9091, allocations: 10.61 kB / 0.517 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.9091, allocations: 1.156 kB / 0.517 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.9091, allocations: 1.062 kB / 0.517 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.9091, allocations: 2.031 kB / 0.517 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.9096, allocations: 281.7 kB / 0.5172 GB, free: 30.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.9096, allocations: 0.5312 kB / 0.5172 GB, free: 30.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.9096, allocations: 3.641 kB / 0.5172 GB, free: 30.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.9096, allocations: 5.125 kB / 0.5172 GB, free: 30.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.9097, allocations: 6.5 kB / 0.5173 GB, free: 30.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.9097, allocations: 0.5312 kB / 0.5173 GB, free: 30.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9097, allocations: 1.406 kB / 0.5173 GB, free: 30.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003349/0.913, allocations: 322.3 kB / 0.5176 GB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.9131, allocations: 93.31 kB / 0.5177 GB, free: 30.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.9132, allocations: 2.094 kB / 0.5177 GB, free: 30.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.9133, allocations: 0 / 0.5177 GB, free: 30.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.9133, allocations: 4.359 kB / 0.5177 GB, free: 30.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.9134, allocations: 3 kB / 0.5177 GB, free: 30.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.819e-05/0.9134, allocations: 83.38 kB / 0.5177 GB, free: 30 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9134, allocations: 5.25 kB / 0.5177 GB, free: 30 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007095/0.9141, allocations: 85.95 kB / 0.5178 GB, free: 29.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005193/0.9147, allocations: 186.8 kB / 0.518 GB, free: 29.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004256/0.9151, allocations: 221.5 kB / 0.5182 GB, free: 29.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9151, allocations: 0 / 0.5182 GB, free: 29.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.9154, allocations: 208.4 kB / 0.5184 GB, free: 29.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008094/0.9162, allocations: 89.72 kB / 0.5185 GB, free: 29.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.9174, allocations: 0.502 MB / 0.519 GB, free: 29.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005573/0.9179, allocations: 0.7964 MB / 0.5198 GB, free: 28.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002303/0.9182, allocations: 27.22 kB / 0.5198 GB, free: 28.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.673e-05/0.9183, allocations: 23.03 kB / 0.5198 GB, free: 28.66 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.9183, allocations: 0 / 0.5198 GB, free: 28.66 MB / 382.1 MB Notification: Performance of Templates: time 0.01436/0.9326, allocations: 4.795 MB / 0.5245 GB, free: 28.12 MB / 382.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1)