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.001748/0.001748, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.00192/0.00192, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.546/1.546, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.01407/0.01407, allocations: 1.989 MB / 261.6 MB, free: 11.07 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 331.6 MB, free: 17.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.871e-05, allocations: 4.703 kB / 331.6 MB, free: 17.24 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.245/0.245, allocations: 85.25 MB / 416.9 MB, free: 16.37 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02937/0.2744, allocations: 41.61 MB / 458.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.2755, allocations: 9.625 kB / 458.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00263/0.2781, allocations: 1.019 MB / 459.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01909/0.2972, allocations: 7.031 MB / 466.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009902/0.2982, allocations: 279.4 kB / 466.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.2998, allocations: 1.433 MB / 468.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2999, allocations: 53.7 kB / 468.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005028/0.3004, allocations: 0.6184 MB / 468.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004801/0.3009, allocations: 396 kB / 469.3 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.723e-05/0.3009, allocations: 39.34 kB / 469.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.847/3.148, allocations: 278.8 MB / 0.7306 GB, free: 3.129 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001994/3.148, allocations: 155 kB / 0.7307 GB, free: 3.09 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/3.149, allocations: 401.4 kB / 0.7311 GB, free: 2.812 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/3.159, allocations: 2.795 MB / 0.7339 GB, free: 1.105 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/3.159, allocations: 0 / 0.7339 GB, free: 1.105 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.293e-06/3.159, allocations: 4 kB / 0.7339 GB, free: 1.102 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.496e-05/3.159, allocations: 0 / 0.7339 GB, free: 1.102 MB / 458.7 MB 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.1218/3.281, allocations: 1.723 MB / 0.7355 GB, free: 218.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/3.281, allocations: 8.812 kB / 0.7356 GB, free: 218.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005645/3.286, allocations: 2.702 MB / 0.7382 GB, free: 217.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/3.287, allocations: 233.5 kB / 0.7384 GB, free: 217 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.971e-05/3.287, allocations: 72.75 kB / 0.7385 GB, free: 217 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/3.287, allocations: 93.84 kB / 0.7386 GB, free: 216.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/3.289, allocations: 1.109 MB / 0.7397 GB, free: 216.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/3.289, allocations: 1.562 kB / 0.7397 GB, free: 216.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/3.289, allocations: 41.19 kB / 0.7397 GB, free: 216.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/3.289, allocations: 74.16 kB / 0.7398 GB, free: 216.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/3.29, allocations: 0.727 MB / 0.7405 GB, free: 216.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003997/3.294, allocations: 3.857 MB / 0.7442 GB, free: 213.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/3.295, allocations: 477.3 kB / 0.7447 GB, free: 213.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/3.295, allocations: 437.2 kB / 0.7451 GB, free: 212.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/3.296, allocations: 1.564 MB / 0.7466 GB, free: 211.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/3.296, allocations: 37.39 kB / 0.7467 GB, free: 211.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=182): time 1.823e-06/3.296, allocations: 0 / 0.7467 GB, free: 211.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=182): time 0.001505/3.298, allocations: 1.433 MB / 0.7481 GB, free: 209.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/3.298, allocations: 84.55 kB / 0.7482 GB, free: 209.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/3.298, allocations: 224.8 kB / 0.7484 GB, free: 209.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/3.298, allocations: 29.7 kB / 0.7484 GB, free: 209.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/3.298, allocations: 452.7 kB / 0.7488 GB, free: 208.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/3.298, allocations: 0.6298 MB / 0.7494 GB, free: 208.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/3.299, allocations: 191.3 kB / 0.7496 GB, free: 208.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.221e-05/3.299, allocations: 487.7 kB / 0.7501 GB, free: 207.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/3.299, allocations: 261.7 kB / 0.7503 GB, free: 207.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/3.299, allocations: 0.4988 MB / 0.7508 GB, free: 206.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007515/3.3, allocations: 0.9597 MB / 0.7518 GB, free: 205.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/3.3, allocations: 0 / 0.7518 GB, free: 205.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001028/3.301, allocations: 1.042 MB / 0.7528 GB, free: 204.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/3.301, allocations: 5.25 kB / 0.7528 GB, free: 204.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/3.301, allocations: 4 kB / 0.7528 GB, free: 204.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/3.301, allocations: 8 kB / 0.7528 GB, free: 204.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/3.301, allocations: 35.92 kB / 0.7528 GB, free: 204.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/3.301, allocations: 4 kB / 0.7528 GB, free: 204.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/3.302, allocations: 90.14 kB / 0.7529 GB, free: 204.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/3.302, allocations: 20 kB / 0.7529 GB, free: 204.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0002686/3.302, allocations: 270.5 kB / 0.7532 GB, free: 204.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/3.302, allocations: 55.62 kB / 0.7533 GB, free: 204.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/3.302, allocations: 35.88 kB / 0.7533 GB, free: 204.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/3.302, allocations: 4 kB / 0.7533 GB, free: 204.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/3.302, allocations: 10.58 kB / 0.7533 GB, free: 204.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/3.302, allocations: 11.14 kB / 0.7533 GB, free: 204.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007911/3.303, allocations: 0.8519 MB / 0.7541 GB, free: 203.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/3.303, allocations: 0 / 0.7541 GB, free: 203.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.518e-05/3.303, allocations: 15.92 kB / 0.7542 GB, free: 203.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/3.303, allocations: 0 / 0.7542 GB, free: 203.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/3.303, allocations: 16 kB / 0.7542 GB, free: 203.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/3.303, allocations: 1.312 kB / 0.7542 GB, free: 203.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/3.303, allocations: 0 / 0.7542 GB, free: 203.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/3.304, allocations: 1.329 MB / 0.7555 GB, free: 201.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.878e-05/3.304, allocations: 78.42 kB / 0.7556 GB, free: 201.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/3.304, allocations: 7.984 kB / 0.7556 GB, free: 201.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/3.304, allocations: 0 / 0.7556 GB, free: 201.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/3.304, allocations: 23.98 kB / 0.7556 GB, free: 201.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/3.304, allocations: 16 kB / 0.7556 GB, free: 201.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.012e-05/3.304, allocations: 143 kB / 0.7557 GB, free: 201.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/3.304, allocations: 0 / 0.7557 GB, free: 201.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008809/3.305, allocations: 391 kB / 0.7561 GB, free: 201.3 MB / 458.7 MB 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.001233/3.307, allocations: 0.5422 MB / 0.7566 GB, free: 201 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0012/3.308, allocations: 1.52 MB / 0.7581 GB, free: 199.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/3.308, allocations: 0 / 0.7581 GB, free: 199.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007506/3.309, allocations: 1.672 MB / 0.7598 GB, free: 197.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/3.311, allocations: 482.2 kB / 0.7602 GB, free: 196.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/3.313, allocations: 2.119 MB / 0.7623 GB, free: 194.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005862/3.314, allocations: 0.71 MB / 0.763 GB, free: 194 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005714/3.314, allocations: 186.7 kB / 0.7632 GB, free: 193.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/3.314, allocations: 76.5 kB / 0.7632 GB, free: 193.8 MB / 458.7 MB Notification: Performance of SimCode: time 9.12e-07/3.314, allocations: 0 / 0.7632 GB, free: 193.8 MB / 458.7 MB Notification: Performance of Templates: time 0.03428/3.349, allocations: 27.09 MB / 0.7897 GB, free: 168 MB / 458.7 MB " [Timeout remaining time 657] 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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.116888312040828]