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.001417/0.001417, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001184/0.001184, allocations: 169 kB / 23.27 MB, free: 1.223 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.03/1.03, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.0236/0.0236, allocations: 2 MB / 262.2 MB, free: 10.92 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.042e-06/1.042e-06, allocations: 0 / 332.8 MB, free: 16.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.1e-05, allocations: 2.312 kB / 332.8 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.007996/0.008017, allocations: 14.86 MB / 347.7 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006747/0.01476, allocations: 8.899 MB / 356.6 MB, free: 8.789 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005641/0.01533, allocations: 4 kB / 356.6 MB, free: 8.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005825/0.01591, allocations: 309.6 kB / 356.9 MB, free: 8.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003458/0.01937, allocations: 1.717 MB / 358.6 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.01992, allocations: 222.3 kB / 358.8 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001351/0.02127, allocations: 1.445 MB / 360.3 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.02138, allocations: 51.2 kB / 360.3 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004468/0.02183, allocations: 0.6037 MB / 360.9 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.02213, allocations: 398.8 kB / 361.3 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.461e-05/0.02218, allocations: 43.98 kB / 361.3 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5796/0.6017, allocations: 21.79 MB / 383.1 MB, free: 264 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.6019, allocations: 151 kB / 383.3 MB, free: 112 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005163/0.6024, allocations: 406.9 kB / 383.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.6044, allocations: 1.128 MB / 384.8 MB, free: 14.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.6044, allocations: 4 kB / 384.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.6044, allocations: 0 / 384.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.6044, allocations: 0 / 384.8 MB, free: 14.57 MB / 314.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.001185/0.6056, allocations: 1.383 MB / 386.2 MB, free: 13.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.6056, allocations: 8.031 kB / 386.2 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004563/0.6102, allocations: 2.703 MB / 388.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.6104, allocations: 231.1 kB / 389.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.172e-05/0.6104, allocations: 70.38 kB / 389.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-05/0.6105, allocations: 92.38 kB / 389.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009623/0.6115, allocations: 0.8312 MB / 390.1 MB, free: 9.168 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.6115, allocations: 11.94 kB / 390.1 MB, free: 9.156 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.6116, allocations: 40 kB / 390.2 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-05/0.6116, allocations: 67.94 kB / 390.2 MB, free: 9.051 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005348/0.6121, allocations: 471.7 kB / 390.7 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003361/0.6155, allocations: 3.1 MB / 393.8 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.6159, allocations: 300 kB / 394.1 MB, free: 5.121 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.6161, allocations: 275.2 kB / 394.4 MB, free: 4.848 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/0.6172, allocations: 1.466 MB / 395.8 MB, free: 3.367 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.6172, allocations: 41.39 kB / 395.9 MB, free: 3.316 MB / 314.7 MB Notification: Performance of pre-optimization done (n=182): time 2.144e-06/0.6172, allocations: 0 / 395.9 MB, free: 3.316 MB / 314.7 MB Notification: Performance of matching and sorting (n=182): time 0.0009029/0.6181, allocations: 1.128 MB / 397 MB, free: 2.184 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.6182, allocations: 81.11 kB / 397.1 MB, free: 2.086 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.6183, allocations: 201.7 kB / 397.3 MB, free: 1.871 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.6183, allocations: 25.7 kB / 397.3 MB, free: 1.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.6184, allocations: 452.7 kB / 397.7 MB, free: 1.387 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/0.6187, allocations: 0.6077 MB / 398.3 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.6188, allocations: 159.2 kB / 398.5 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.6189, allocations: 484.4 kB / 399 MB, free: 132 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.6191, allocations: 142 kB / 399.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.6193, allocations: 374.6 kB / 399.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.6197, allocations: 0.6711 MB / 400.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6197, allocations: 0 / 400.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0006341/0.6204, allocations: 0.8249 MB / 401 MB, free: 13.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.6204, allocations: 4 kB / 401 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.6204, allocations: 4 kB / 401 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.6204, allocations: 7.938 kB / 401 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.6205, allocations: 31.92 kB / 401 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.6205, allocations: 8.438 kB / 401 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.6206, allocations: 91.08 kB / 401.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.6207, allocations: 23.98 kB / 401.1 MB, free: 13.82 MB / 330.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.0001607/0.6208, allocations: 170.5 kB / 401.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.306e-05/0.6209, allocations: 59.62 kB / 401.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.18e-05/0.6209, allocations: 31.88 kB / 401.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.621, allocations: 15.92 kB / 401.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.621, allocations: 0 / 401.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.621, allocations: 7.938 kB / 401.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005479/0.6215, allocations: 0.6336 MB / 402.1 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6215, allocations: 7.984 kB / 402.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.339e-05/0.6215, allocations: 8 kB / 402.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6215, allocations: 3.938 kB / 402.1 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.6216, allocations: 16 kB / 402.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6216, allocations: 4.062 kB / 402.1 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.6216, allocations: 0 / 402.1 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006989/0.6223, allocations: 1.076 MB / 403.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.6223, allocations: 83.17 kB / 403.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.6223, allocations: 4 kB / 403.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.6224, allocations: 4 kB / 403.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.6225, allocations: 27.86 kB / 403.3 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.6225, allocations: 16 kB / 403.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.625e-05/0.6225, allocations: 131.2 kB / 403.4 MB, free: 11.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.6225, allocations: 0 / 403.4 MB, free: 11.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005399/0.6231, allocations: 367 kB / 403.8 MB, free: 11.11 MB / 330.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.0005107/0.6236, allocations: 324.7 kB / 404.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007722/0.6243, allocations: 1.268 MB / 405.4 MB, free: 9.395 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.6243, allocations: 0 / 405.4 MB, free: 9.395 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007032/0.625, allocations: 1.522 MB / 406.9 MB, free: 7.488 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.6262, allocations: 475.8 kB / 407.4 MB, free: 7.043 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.6281, allocations: 1.982 MB / 409.3 MB, free: 5.008 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.6283, allocations: 319 kB / 409.7 MB, free: 4.672 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004238/0.6288, allocations: 179.5 kB / 409.8 MB, free: 4.496 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005865/0.6293, allocations: 461.9 kB / 410.3 MB, free: 4.043 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6293, allocations: 0 / 410.3 MB, free: 4.043 MB / 330.7 MB Notification: Performance of Templates: time 0.1289/0.7582, allocations: 25.41 MB / 435.7 MB, free: 66.86 MB / 330.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.028375086374581]