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.001299/0.001299, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.001448/0.001448, allocations: 216 kB / 22.25 MB, free: 5.117 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.01292/0.01292, allocations: 2.798 MB / 315.2 MB, free: 324 kB / 238.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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical",fmuType="me",version="2.0",platforms={"static"}) [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.001948/0.001948, allocations: 75.81 kB / 438.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1095, allocations: 54.17 MB / 492.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.2999/0.4094, allocations: 83.87 MB / 0.5632 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04066/0.4501, allocations: 40.87 MB / 0.6032 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.4513, allocations: 4 kB / 0.6032 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003312/0.4546, allocations: 1.239 MB / 0.6044 GB, free: 9.086 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02179/0.4764, allocations: 6.982 MB / 0.6112 GB, free: 2.055 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.4775, allocations: 266.1 kB / 0.6114 GB, free: 1.793 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002384/0.4799, allocations: 1.346 MB / 0.6128 GB, free: 448 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.4801, allocations: 51.19 kB / 0.6128 GB, free: 384 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005705/0.4806, allocations: 433.9 kB / 0.6132 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007008/0.4813, allocations: 0.4974 MB / 0.6137 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.507e-05/0.4814, allocations: 39.94 kB / 0.6137 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.695/2.176, allocations: 167.9 MB / 0.7777 GB, free: 63 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006862/2.177, allocations: 153.8 kB / 0.7779 GB, free: 62.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009089/2.178, allocations: 0.5967 MB / 0.7785 GB, free: 62.68 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01009/2.188, allocations: 2.781 MB / 0.7812 GB, free: 60.79 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/2.188, allocations: 4 kB / 0.7812 GB, free: 60.78 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/2.188, allocations: 0 / 0.7812 GB, free: 60.78 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.333e-05/2.188, allocations: 0 / 0.7812 GB, free: 60.78 MB / 0.5294 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.001791/2.19, allocations: 1.544 MB / 0.7827 GB, free: 59.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/2.19, allocations: 12.03 kB / 0.7827 GB, free: 59.4 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001719/2.19, allocations: 200.5 kB / 0.7829 GB, free: 59.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004027/2.194, allocations: 1.22 MB / 0.7841 GB, free: 58.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/2.194, allocations: 230.3 kB / 0.7843 GB, free: 58.29 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.385e-05/2.194, allocations: 74.62 kB / 0.7844 GB, free: 58.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/2.194, allocations: 101.8 kB / 0.7845 GB, free: 58.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/2.196, allocations: 1.749 MB / 0.7862 GB, free: 57.14 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/2.196, allocations: 0 / 0.7862 GB, free: 57.14 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.345e-05/2.196, allocations: 37 kB / 0.7862 GB, free: 57.13 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/2.196, allocations: 68.56 kB / 0.7863 GB, free: 57.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/2.198, allocations: 1.673 MB / 0.7879 GB, free: 56.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004497/2.202, allocations: 8.55 MB / 0.7963 GB, free: 47.71 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006173/2.203, allocations: 0.537 MB / 0.7968 GB, free: 47.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005019/2.203, allocations: 0.5007 MB / 0.7973 GB, free: 47.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/2.205, allocations: 1.422 MB / 0.7987 GB, free: 46.14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/2.205, allocations: 44.39 kB / 0.7987 GB, free: 46.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 2.054e-06/2.205, allocations: 0 / 0.7987 GB, free: 46.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.002269/2.207, allocations: 1.528 MB / 0.8002 GB, free: 45.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/2.207, allocations: 77.11 kB / 0.8003 GB, free: 45.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/2.207, allocations: 129.3 kB / 0.8004 GB, free: 44.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/2.207, allocations: 33.45 kB / 0.8004 GB, free: 44.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/2.207, allocations: 406.1 kB / 0.8008 GB, free: 44.51 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/2.208, allocations: 0.5909 MB / 0.8014 GB, free: 43.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/2.208, allocations: 147.9 kB / 0.8015 GB, free: 43.87 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.627e-05/2.208, allocations: 309.9 kB / 0.8018 GB, free: 43.57 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/2.208, allocations: 337.4 kB / 0.8021 GB, free: 43.42 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/2.209, allocations: 0.4945 MB / 0.8026 GB, free: 43.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008971/2.209, allocations: 1.026 MB / 0.8036 GB, free: 42.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/2.209, allocations: 4 kB / 0.8036 GB, free: 42.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001128/2.211, allocations: 1.053 MB / 0.8047 GB, free: 41.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/2.211, allocations: 8 kB / 0.8047 GB, free: 41.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/2.211, allocations: 4 kB / 0.8047 GB, free: 41.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/2.211, allocations: 4 kB / 0.8047 GB, free: 41.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/2.211, allocations: 30.98 kB / 0.8047 GB, free: 41.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/2.211, allocations: 7.031 kB / 0.8047 GB, free: 41.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/2.211, allocations: 90.45 kB / 0.8048 GB, free: 41.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/2.211, allocations: 23.12 kB / 0.8048 GB, free: 41.69 MB / 0.5294 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.0003021/2.211, allocations: 217.1 kB / 0.805 GB, free: 41.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.831e-05/2.211, allocations: 59.52 kB / 0.8051 GB, free: 41.44 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.011e-05/2.212, allocations: 31.88 kB / 0.8051 GB, free: 41.41 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/2.212, allocations: 4 kB / 0.8051 GB, free: 41.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/2.212, allocations: 0 / 0.8051 GB, free: 41.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/2.212, allocations: 7.984 kB / 0.8051 GB, free: 41.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/2.213, allocations: 1.018 MB / 0.8061 GB, free: 40.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/2.213, allocations: 3.938 kB / 0.8061 GB, free: 40.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/2.213, allocations: 8 kB / 0.8061 GB, free: 40.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/2.213, allocations: 0 / 0.8061 GB, free: 40.33 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/2.213, allocations: 19.98 kB / 0.8061 GB, free: 40.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/2.213, allocations: 3.375 kB / 0.8062 GB, free: 40.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/2.213, allocations: 0 / 0.8062 GB, free: 40.31 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/2.214, allocations: 1.2 MB / 0.8073 GB, free: 39.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/2.214, allocations: 79.19 kB / 0.8074 GB, free: 39.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/2.214, allocations: 8 kB / 0.8074 GB, free: 39.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/2.215, allocations: 0 / 0.8074 GB, free: 39.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/2.215, allocations: 27.91 kB / 0.8074 GB, free: 39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/2.215, allocations: 16 kB / 0.8074 GB, free: 38.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.753e-05/2.215, allocations: 99.02 kB / 0.8075 GB, free: 38.89 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/2.215, allocations: 0 / 0.8075 GB, free: 38.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008465/2.216, allocations: 383 kB / 0.8079 GB, free: 38.51 MB / 0.5294 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.00205/2.218, allocations: 2.185 MB / 0.81 GB, free: 36.38 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001238/2.219, allocations: 1.569 MB / 0.8116 GB, free: 34.69 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/2.219, allocations: 0 / 0.8116 GB, free: 34.69 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000794/2.22, allocations: 1.642 MB / 0.8132 GB, free: 32.67 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/2.222, allocations: 473.5 kB / 0.8136 GB, free: 32.21 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/2.225, allocations: 2.39 MB / 0.816 GB, free: 29.78 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006894/2.226, allocations: 1.301 MB / 0.8172 GB, free: 28.45 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000594/2.227, allocations: 179.5 kB / 0.8174 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/2.227, allocations: 0.6243 MB / 0.818 GB, free: 27.64 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/2.227, allocations: 6.531 kB / 0.818 GB, free: 27.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08486/2.312, allocations: 44.83 MB / 0.8618 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/17.2, allocations: 7.938 kB / 0.8618 GB, free: 15.15 MB / 0.5606 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.04244744288735] Failed to read output from testmodel.py, exit status != 0: 17.565219135023654 17.584277125 15.392655425 Calling exit ...