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.001099/0.001099, allocations: 93.06 kB / 19.65 MB, free: 280 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.001714/0.001714, allocations: 173.3 kB / 23.02 MB, free: 1.551 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 0.9816/0.9816, allocations: 177.2 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.02339/0.02339, allocations: 1.993 MB / 261.9 MB, free: 11.06 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.904e-06/1.904e-06, allocations: 0 / 332.4 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.656e-05, allocations: 2.312 kB / 332.4 MB, free: 1.969 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.01471/0.01475, allocations: 14.99 MB / 347.4 MB, free: 2.922 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007102/0.02185, allocations: 8.988 MB / 356.3 MB, free: 9.902 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006393/0.02249, allocations: 4 kB / 356.4 MB, free: 9.898 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.02308, allocations: 313.6 kB / 356.7 MB, free: 9.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003572/0.02665, allocations: 1.721 MB / 358.4 MB, free: 7.855 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.02715, allocations: 222.3 kB / 358.6 MB, free: 7.637 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.02833, allocations: 1.438 MB / 360 MB, free: 6.191 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.02845, allocations: 51.2 kB / 360.1 MB, free: 6.129 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005489/0.029, allocations: 0.6076 MB / 360.7 MB, free: 5.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.02934, allocations: 402.7 kB / 361.1 MB, free: 5.125 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.594e-05/0.02938, allocations: 40 kB / 361.1 MB, free: 5.086 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5685/0.5979, allocations: 21.79 MB / 382.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.5981, allocations: 158.9 kB / 383.1 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005944/0.5986, allocations: 403 kB / 383.5 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.6009, allocations: 1.128 MB / 384.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.6009, allocations: 0 / 384.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.6009, allocations: 0 / 384.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.601, allocations: 0 / 384.6 MB, free: 15.62 MB / 362.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.001301/0.6023, allocations: 1.372 MB / 386 MB, free: 14.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.6023, allocations: 8.031 kB / 386 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004552/0.6069, allocations: 2.707 MB / 388.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.6071, allocations: 231 kB / 388.9 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.933e-05/0.6072, allocations: 78.38 kB / 389 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.6073, allocations: 88.38 kB / 389.1 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.6085, allocations: 0.9484 MB / 390 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.6085, allocations: 0 / 390 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.033e-05/0.6086, allocations: 40 kB / 390.1 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.359e-05/0.6086, allocations: 67.94 kB / 390.1 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008334/0.6095, allocations: 0.6052 MB / 390.7 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003589/0.6131, allocations: 3.193 MB / 393.9 MB, free: 6.148 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/0.6136, allocations: 364 kB / 394.3 MB, free: 5.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/0.614, allocations: 327.3 kB / 394.6 MB, free: 5.445 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/0.6154, allocations: 1.443 MB / 396 MB, free: 3.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.6154, allocations: 37.38 kB / 396.1 MB, free: 3.934 MB / 362.7 MB Notification: Performance of pre-optimization done (n=182): time 2.655e-06/0.6154, allocations: 0 / 396.1 MB, free: 3.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=182): time 0.001206/0.6166, allocations: 1.249 MB / 397.3 MB, free: 2.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.6167, allocations: 81.11 kB / 397.4 MB, free: 2.582 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.6169, allocations: 193.8 kB / 397.6 MB, free: 2.375 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.6169, allocations: 29.7 kB / 397.6 MB, free: 2.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.617, allocations: 452.6 kB / 398.1 MB, free: 1.887 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/0.6173, allocations: 0.6 MB / 398.7 MB, free: 1.281 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.6175, allocations: 151.3 kB / 398.8 MB, free: 1.125 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6176, allocations: 484.4 kB / 399.3 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.6178, allocations: 181.9 kB / 399.5 MB, free: 480 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.6181, allocations: 406.8 kB / 399.9 MB, free: 4 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005942/0.6187, allocations: 0.7454 MB / 400.6 MB, free: 15.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.6187, allocations: 0 / 400.6 MB, free: 15.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0008088/0.6195, allocations: 0.8952 MB / 401.5 MB, free: 14.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.6195, allocations: 8 kB / 401.5 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.6195, allocations: 4.375 kB / 401.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.6195, allocations: 12 kB / 401.5 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.6196, allocations: 31.92 kB / 401.6 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.6196, allocations: 11.92 kB / 401.6 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.6198, allocations: 87.2 kB / 401.7 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.6199, allocations: 24 kB / 401.7 MB, free: 14.11 MB / 378.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.0001936/0.6201, allocations: 174.5 kB / 401.8 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.936e-05/0.6201, allocations: 59.56 kB / 401.9 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.933e-05/0.6202, allocations: 35.83 kB / 401.9 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.6202, allocations: 7.984 kB / 401.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6202, allocations: 4 kB / 401.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.6202, allocations: 0 / 401.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006675/0.6209, allocations: 0.7501 MB / 402.7 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.6209, allocations: 0 / 402.7 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.6209, allocations: 8 kB / 402.7 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.6209, allocations: 0 / 402.7 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.621, allocations: 19.98 kB / 402.7 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.621, allocations: 3.938 kB / 402.7 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.621, allocations: 0 / 402.7 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008466/0.6218, allocations: 1.142 MB / 403.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.6219, allocations: 79.14 kB / 404 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.6219, allocations: 8 kB / 404 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.622, allocations: 7.938 kB / 404 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.6221, allocations: 23.97 kB / 404 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.6221, allocations: 12 kB / 404 MB, free: 11.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.245e-05/0.6221, allocations: 139.2 kB / 404.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6221, allocations: 0 / 404.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006668/0.6228, allocations: 363 kB / 404.5 MB, free: 11.22 MB / 378.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.0005885/0.6234, allocations: 310.4 kB / 404.8 MB, free: 10.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.6244, allocations: 1.335 MB / 406.1 MB, free: 9.441 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6244, allocations: 0 / 406.1 MB, free: 9.441 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008627/0.6253, allocations: 1.573 MB / 407.7 MB, free: 7.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.6267, allocations: 469.3 kB / 408.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.6296, allocations: 2.006 MB / 410.2 MB, free: 4.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.6299, allocations: 311 kB / 410.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005513/0.6304, allocations: 179.5 kB / 410.6 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.6306, allocations: 84.44 kB / 410.7 MB, free: 4.379 MB / 378.7 MB Notification: Performance of SimCode: time 2.855e-06/0.6306, allocations: 0 / 410.7 MB, free: 4.379 MB / 378.7 MB Notification: Performance of Templates: time 0.02907/0.6596, allocations: 25.01 MB / 435.7 MB, free: 11.21 MB / 410.7 MB " [Timeout remaining time 659] 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: 5.198604925069958]