Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.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.0007634/0.0007634, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 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.0007851/0.0007851, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.907/0.907, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.008561/0.008561, allocations: 1.982 MB / 261.2 MB, free: 11.26 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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 384.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.211e-05, allocations: 2.281 kB / 384.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.01384/0.01386, allocations: 17.28 MB / 401.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003786/0.01765, allocations: 5.278 MB / 407.2 MB, free: 5.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.01791, allocations: 0 / 407.2 MB, free: 5.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006142/0.01853, allocations: 206.6 kB / 407.4 MB, free: 5.047 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003115/0.02164, allocations: 1.221 MB / 408.6 MB, free: 3.816 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.02192, allocations: 95.3 kB / 408.7 MB, free: 3.723 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003939/0.02232, allocations: 321.5 kB / 409 MB, free: 3.406 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.738e-05/0.02239, allocations: 12.94 kB / 409.1 MB, free: 3.395 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.02254, allocations: 143.5 kB / 409.2 MB, free: 3.254 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.02265, allocations: 83.77 kB / 409.3 MB, free: 3.172 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.02267, allocations: 8 kB / 409.3 MB, free: 3.164 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.7328/0.7555, allocations: 38.67 MB / 448 MB, free: 4.816 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.7555, allocations: 30.75 kB / 448 MB, free: 4.812 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.7557, allocations: 98.23 kB / 448.1 MB, free: 4.738 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.7571, allocations: 0.5024 MB / 448.6 MB, free: 4.484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7571, allocations: 3.312 kB / 448.6 MB, free: 4.484 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7571, allocations: 0 / 448.6 MB, free: 4.484 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.7571, allocations: 0 / 448.6 MB, free: 4.484 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0004266/0.7575, allocations: 0.4974 MB / 449.1 MB, free: 4.027 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.7576, allocations: 8.031 kB / 449.1 MB, free: 4.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.376e-05/0.7576, allocations: 70.06 kB / 449.2 MB, free: 3.969 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004522/0.7581, allocations: 205.8 kB / 449.4 MB, free: 3.883 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.315e-05/0.7581, allocations: 127.5 kB / 449.5 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.7582, allocations: 20.5 kB / 449.5 MB, free: 3.727 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.7582, allocations: 28 kB / 449.5 MB, free: 3.707 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.7585, allocations: 337.1 kB / 449.9 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.7585, allocations: 3.938 kB / 449.9 MB, free: 3.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.7585, allocations: 11.31 kB / 449.9 MB, free: 3.516 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.7585, allocations: 18.05 kB / 449.9 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.7587, allocations: 274.5 kB / 450.2 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007441/0.7594, allocations: 0.853 MB / 451 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.229e-05/0.7595, allocations: 100.2 kB / 451.1 MB, free: 2.672 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/0.7596, allocations: 70.61 kB / 451.2 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/0.7599, allocations: 0.5015 MB / 451.7 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.76, allocations: 43.53 kB / 451.7 MB, free: 2.129 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.76, allocations: 0 / 451.7 MB, free: 2.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002352/0.7602, allocations: 190.2 kB / 451.9 MB, free: 2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.7602, allocations: 77.11 kB / 452 MB, free: 1.906 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.177e-05/0.7603, allocations: 109.5 kB / 452.1 MB, free: 1.797 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.33e-06/0.7603, allocations: 25.7 kB / 452.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.7603, allocations: 161 kB / 452.3 MB, free: 1.621 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.7603, allocations: 107.9 kB / 452.4 MB, free: 1.535 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.483e-05/0.7604, allocations: 36.66 kB / 452.4 MB, free: 1.504 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.288e-05/0.7604, allocations: 322.7 kB / 452.7 MB, free: 1.184 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.487e-05/0.7604, allocations: 39.11 kB / 452.8 MB, free: 1.164 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.687e-05/0.7605, allocations: 80.98 kB / 452.9 MB, free: 1.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.7e-05/0.7606, allocations: 143.1 kB / 453 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.7606, allocations: 0 / 453 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001434/0.7607, allocations: 165.9 kB / 453.2 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.7607, allocations: 4 kB / 453.2 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.7608, allocations: 4 kB / 453.2 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.7608, allocations: 3.938 kB / 453.2 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.608e-05/0.7608, allocations: 12.19 kB / 453.2 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.7608, allocations: 4 kB / 453.2 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.97e-05/0.7609, allocations: 15.84 kB / 453.2 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.7609, allocations: 7.188 kB / 453.2 MB, free: 0.8164 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 6.55e-05/0.761, allocations: 133.6 kB / 453.3 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.761, allocations: 11.91 kB / 453.3 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.761, allocations: 11.97 kB / 453.4 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.761, allocations: 192 / 453.4 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.761, allocations: 0 / 453.4 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.761, allocations: 7.984 kB / 453.4 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.7612, allocations: 242.4 kB / 453.6 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7612, allocations: 0 / 453.6 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.365e-05/0.7612, allocations: 7.984 kB / 453.6 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7612, allocations: 0 / 453.6 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.7612, allocations: 10.94 kB / 453.6 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.7612, allocations: 0 / 453.6 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7612, allocations: 3.281 kB / 453.6 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.7613, allocations: 310.1 kB / 453.9 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.7614, allocations: 15.83 kB / 453.9 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.7614, allocations: 4 kB / 453.9 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.805e-05/0.7614, allocations: 3.812 kB / 454 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.7614, allocations: 11.98 kB / 454 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.7614, allocations: 0 / 454 MB, free: 100 kB / 330.7 MB Notification: Performance of sorting global known variables: time 1.516e-05/0.7615, allocations: 79.28 kB / 454 MB, free: 20 kB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.7615, allocations: 0 / 454 MB, free: 20 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.000314/0.7618, allocations: 87.64 kB / 454.1 MB, free: 15.93 MB / 346.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: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006352/0.7624, allocations: 0.9482 MB / 455.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.7626, allocations: 203.4 kB / 455.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7626, allocations: 4.062 kB / 455.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.475e-05/0.7627, allocations: 183.4 kB / 455.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.7632, allocations: 83.66 kB / 455.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007149/0.7639, allocations: 0.554 MB / 456.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.764, allocations: 199 kB / 456.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.482e-05/0.7641, allocations: 21.14 kB / 456.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.123e-05/0.7642, allocations: 119.6 kB / 456.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of SimCode: time 4.21e-07/0.7642, allocations: 0 / 456.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.7869, allocations: 8.985 MB / 465.4 MB, free: 4.883 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.786/7.573, allocations: 12 kB / 465.4 MB, free: 4.871 MB / 346.7 MB " [Timeout remaining time 652] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.18919588625431] Failed to read output from testmodel.py, exit status != 0: 7.893613153137267 7.904972535 7.14582003 Calling exit ...