Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 83.89 kB / 19.76 MB, free: 2.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 156.8 kB / 23.01 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.395/1.395, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01758/0.01758, allocations: 2.004 MB / 261.8 MB, free: 14.65 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 66.88 kB / 385.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09457/0.09669, allocations: 54.14 MB / 439.8 MB, free: 12.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.2907/0.3874, allocations: 73.94 MB / 0.5017 GB, free: 46.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02581/0.4132, allocations: 35.21 MB / 0.5361 GB, free: 23.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.4144, allocations: 8.281 kB / 0.5361 GB, free: 23.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002977/0.4174, allocations: 1.005 MB / 0.5371 GB, free: 22.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02407/0.4414, allocations: 6.762 MB / 0.5437 GB, free: 18.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.4426, allocations: 284.4 kB / 0.544 GB, free: 18.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002048/0.4446, allocations: 1.341 MB / 0.5453 GB, free: 17.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.4447, allocations: 53.48 kB / 0.5453 GB, free: 17.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005081/0.4453, allocations: 426.2 kB / 0.5457 GB, free: 17.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006057/0.4459, allocations: 486.6 kB / 0.5462 GB, free: 17.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.941e-05/0.4459, allocations: 43.34 kB / 0.5462 GB, free: 17.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.693/2.139, allocations: 167.9 MB / 0.7102 GB, free: 122.6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002343/2.14, allocations: 147 kB / 0.7103 GB, free: 122.6 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001045/2.141, allocations: 490.8 kB / 0.7108 GB, free: 122.6 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01353/2.154, allocations: 2.794 MB / 0.7135 GB, free: 122.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/2.154, allocations: 0 / 0.7135 GB, free: 122.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.923e-06/2.154, allocations: 0.5312 kB / 0.7135 GB, free: 122.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.326e-05/2.154, allocations: 1 kB / 0.7135 GB, free: 122.5 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.001797/2.156, allocations: 1.528 MB / 0.715 GB, free: 121.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/2.156, allocations: 13.62 kB / 0.715 GB, free: 121.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005372/2.161, allocations: 1.217 MB / 0.7162 GB, free: 121.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/2.162, allocations: 231.6 kB / 0.7165 GB, free: 121.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/2.162, allocations: 72.34 kB / 0.7165 GB, free: 121.4 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/2.162, allocations: 93.75 kB / 0.7166 GB, free: 121.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/2.164, allocations: 1.753 MB / 0.7183 GB, free: 121.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/2.164, allocations: 0 / 0.7183 GB, free: 121.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.006e-05/2.165, allocations: 39.25 kB / 0.7184 GB, free: 121.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.544e-05/2.165, allocations: 73.56 kB / 0.7184 GB, free: 121.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/2.166, allocations: 1.663 MB / 0.7201 GB, free: 121.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004901/2.171, allocations: 3.428 MB / 0.7234 GB, free: 120.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008591/2.172, allocations: 0.5268 MB / 0.7239 GB, free: 120.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006876/2.173, allocations: 0.5016 MB / 0.7244 GB, free: 120.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001711/2.175, allocations: 1.323 MB / 0.7257 GB, free: 120 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/2.175, allocations: 40.56 kB / 0.7257 GB, free: 119.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=182): time 2.695e-06/2.175, allocations: 4 kB / 0.7257 GB, free: 119.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=182): time 0.00274/2.177, allocations: 1.534 MB / 0.7272 GB, free: 119.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/2.177, allocations: 79.48 kB / 0.7273 GB, free: 119.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/2.177, allocations: 136.9 kB / 0.7274 GB, free: 119.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/2.178, allocations: 32.55 kB / 0.7275 GB, free: 119.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/2.178, allocations: 402.3 kB / 0.7279 GB, free: 119.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/2.178, allocations: 0.5897 MB / 0.7284 GB, free: 118.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/2.178, allocations: 139.7 kB / 0.7286 GB, free: 118.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.637e-05/2.178, allocations: 311.5 kB / 0.7289 GB, free: 118.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/2.179, allocations: 346.2 kB / 0.7292 GB, free: 118.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/2.179, allocations: 0.4906 MB / 0.7297 GB, free: 118.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009886/2.18, allocations: 1.033 MB / 0.7307 GB, free: 117.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/2.18, allocations: 0 / 0.7307 GB, free: 117.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001492/2.182, allocations: 1.053 MB / 0.7317 GB, free: 117.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/2.182, allocations: 9.844 kB / 0.7317 GB, free: 117.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/2.182, allocations: 3.594 kB / 0.7317 GB, free: 117.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/2.182, allocations: 7.5 kB / 0.7317 GB, free: 117.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/2.182, allocations: 35.03 kB / 0.7318 GB, free: 117.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/2.182, allocations: 6.75 kB / 0.7318 GB, free: 117.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/2.182, allocations: 79.05 kB / 0.7318 GB, free: 117.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/2.182, allocations: 26.67 kB / 0.7319 GB, free: 117.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,state2.phase,state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003016/2.182, allocations: 223 kB / 0.7321 GB, free: 117.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/2.183, allocations: 54.8 kB / 0.7321 GB, free: 117 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.721e-05/2.183, allocations: 29.8 kB / 0.7322 GB, free: 117 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/2.183, allocations: 10.03 kB / 0.7322 GB, free: 117 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/2.183, allocations: 3.938 kB / 0.7322 GB, free: 117 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/2.183, allocations: 10.06 kB / 0.7322 GB, free: 117 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008189/2.183, allocations: 0.7559 MB / 0.7329 GB, free: 116.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/2.183, allocations: 0 / 0.7329 GB, free: 116.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/2.183, allocations: 6.844 kB / 0.7329 GB, free: 116.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/2.183, allocations: 3.469 kB / 0.7329 GB, free: 116.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/2.184, allocations: 18.47 kB / 0.733 GB, free: 116.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/2.184, allocations: 0 / 0.733 GB, free: 116.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/2.184, allocations: 2.75 kB / 0.733 GB, free: 116.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/2.185, allocations: 1.195 MB / 0.7341 GB, free: 115.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.902e-05/2.185, allocations: 84.2 kB / 0.7342 GB, free: 115.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/2.185, allocations: 11.16 kB / 0.7342 GB, free: 115.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/2.185, allocations: 4 kB / 0.7342 GB, free: 115.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/2.185, allocations: 22.09 kB / 0.7342 GB, free: 115.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/2.185, allocations: 14.25 kB / 0.7343 GB, free: 115.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.908e-05/2.185, allocations: 94.38 kB / 0.7343 GB, free: 115.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/2.185, allocations: 0 / 0.7343 GB, free: 115.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001065/2.186, allocations: 385.3 kB / 0.7347 GB, free: 115.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (state2.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,state1.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0009123/2.187, allocations: 0.5408 MB / 0.7352 GB, free: 115.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001377/2.188, allocations: 1.583 MB / 0.7368 GB, free: 114 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/2.188, allocations: 0 / 0.7368 GB, free: 114 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008638/2.189, allocations: 1.641 MB / 0.7384 GB, free: 112.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/2.192, allocations: 477.6 kB / 0.7388 GB, free: 112.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/2.196, allocations: 2.152 MB / 0.7409 GB, free: 110.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008195/2.196, allocations: 0.7148 MB / 0.7416 GB, free: 109.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007071/2.197, allocations: 177.6 kB / 0.7418 GB, free: 109.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/2.197, allocations: 81.11 kB / 0.7419 GB, free: 109.3 MB / 0.545 GB Notification: Performance of SimCode: time 8.02e-07/2.197, allocations: 0 / 0.7419 GB, free: 109.3 MB / 0.545 GB Notification: Performance of Templates: time 0.03899/2.236, allocations: 27.17 MB / 0.7684 GB, free: 85.93 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.924374483991414] Failed to read output from testmodel.py, exit status != 0: 2.244526920025237 2.264444395 0.106231008 Calling exit ...