Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.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.0008007/0.0008007, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001382/0.001382, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9136/0.9136, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.008612/0.008612, allocations: 1.985 MB / 261.2 MB, free: 11.27 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.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 384.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.122e-05, allocations: 2.281 kB / 384.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.01337/0.01339, allocations: 17.29 MB / 401.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003411/0.0168, allocations: 5.27 MB / 407.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.01697, allocations: 0 / 407.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005158/0.01748, allocations: 210.6 kB / 407.4 MB, free: 5.051 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002728/0.02021, allocations: 1.217 MB / 408.6 MB, free: 3.824 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.02052, allocations: 99.23 kB / 408.7 MB, free: 3.727 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.02084, allocations: 317.5 kB / 409 MB, free: 3.414 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.235e-05/0.0209, allocations: 16.92 kB / 409.1 MB, free: 3.398 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.02103, allocations: 139.6 kB / 409.2 MB, free: 3.262 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.02113, allocations: 87.77 kB / 409.3 MB, free: 3.176 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.02115, allocations: 8 kB / 409.3 MB, free: 3.168 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.7351/0.7562, allocations: 38.66 MB / 448 MB, free: 4.844 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.7563, allocations: 35.06 kB / 448 MB, free: 4.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.7564, allocations: 88.08 kB / 448.1 MB, free: 4.777 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.7577, allocations: 0.5132 MB / 448.6 MB, free: 4.516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.7577, allocations: 0 / 448.6 MB, free: 4.516 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.7577, allocations: 0 / 448.6 MB, free: 4.516 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.7577, allocations: 0 / 448.6 MB, free: 4.516 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.0003975/0.7581, allocations: 0.4949 MB / 449.1 MB, free: 4.059 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.7582, allocations: 12.03 kB / 449.1 MB, free: 4.047 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.984e-05/0.7582, allocations: 66.08 kB / 449.2 MB, free: 4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003969/0.7586, allocations: 206.5 kB / 449.4 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.46e-05/0.7587, allocations: 128.6 kB / 449.5 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.7587, allocations: 21.44 kB / 449.5 MB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.7587, allocations: 31.64 kB / 449.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.759, allocations: 343.7 kB / 449.9 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.759, allocations: 3.938 kB / 449.9 MB, free: 3.539 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.759, allocations: 11.62 kB / 449.9 MB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.759, allocations: 10.97 kB / 449.9 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.7592, allocations: 279.1 kB / 450.2 MB, free: 3.391 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/0.76, allocations: 0.8552 MB / 451 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.159e-05/0.76, allocations: 88.95 kB / 451.1 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.926e-05/0.7601, allocations: 82.08 kB / 451.2 MB, free: 2.652 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003293/0.7604, allocations: 0.4984 MB / 451.7 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.382e-05/0.7604, allocations: 30.56 kB / 451.7 MB, free: 2.156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.724e-06/0.7604, allocations: 0 / 451.7 MB, free: 2.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002419/0.7607, allocations: 184.8 kB / 451.9 MB, free: 2.031 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.7607, allocations: 84.55 kB / 452 MB, free: 1.934 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.928e-05/0.7608, allocations: 108.3 kB / 452.1 MB, free: 1.824 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.7608, allocations: 33.64 kB / 452.1 MB, free: 1.785 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.7608, allocations: 163 kB / 452.3 MB, free: 1.645 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.7608, allocations: 102.2 kB / 452.4 MB, free: 1.562 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.7609, allocations: 41.19 kB / 452.4 MB, free: 1.527 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.494e-05/0.7609, allocations: 325.1 kB / 452.7 MB, free: 1.207 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.315e-05/0.7609, allocations: 34.98 kB / 452.8 MB, free: 1.191 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.509e-05/0.761, allocations: 76.25 kB / 452.8 MB, free: 1.117 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.606e-05/0.7611, allocations: 157.6 kB / 453 MB, free: 1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7611, allocations: 0 / 453 MB, free: 1 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001265/0.7612, allocations: 149.9 kB / 453.1 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.7612, allocations: 8 kB / 453.2 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7612, allocations: 3.562 kB / 453.2 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.7612, allocations: 4 kB / 453.2 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.019e-05/0.7613, allocations: 11.94 kB / 453.2 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.7613, allocations: 4.188 kB / 453.2 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.789e-05/0.7613, allocations: 19.53 kB / 453.2 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.7614, allocations: 8 kB / 453.2 MB, free: 0.8398 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.121e-05/0.7614, allocations: 128.4 kB / 453.3 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.7614, allocations: 19.77 kB / 453.4 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.7615, allocations: 8.219 kB / 453.4 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.7615, allocations: 4 kB / 453.4 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.7615, allocations: 0 / 453.4 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.7615, allocations: 0 / 453.4 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.7617, allocations: 250.3 kB / 453.6 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7617, allocations: 4 kB / 453.6 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.394e-05/0.7617, allocations: 4 kB / 453.6 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.7617, allocations: 3.984 kB / 453.6 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.7617, allocations: 0 / 453.6 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7617, allocations: 4 kB / 453.6 MB, free: 444 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.7617, allocations: 0 / 453.6 MB, free: 444 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.7618, allocations: 316.9 kB / 453.9 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.7618, allocations: 11.89 kB / 453.9 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.7618, allocations: 0 / 453.9 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.945e-05/0.7619, allocations: 0 / 453.9 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.7619, allocations: 15.73 kB / 454 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.7619, allocations: 8 kB / 454 MB, free: 124 kB / 330.7 MB Notification: Performance of sorting global known variables: time 1.476e-05/0.7619, allocations: 79.28 kB / 454 MB, free: 44 kB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7619, allocations: 0 / 454 MB, free: 44 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002712/0.7622, allocations: 86.72 kB / 454.1 MB, free: 15.96 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.0006215/0.7628, allocations: 0.94 MB / 455.1 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.7631, allocations: 201.5 kB / 455.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7631, allocations: 384 / 455.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.7632, allocations: 182 kB / 455.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.7636, allocations: 91.47 kB / 455.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008134/0.7645, allocations: 0.5555 MB / 456.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.7646, allocations: 199 kB / 456.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.7647, allocations: 29.12 kB / 456.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.7648, allocations: 120.5 kB / 456.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of SimCode: time 6.92e-07/0.7648, allocations: 0 / 456.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.787, allocations: 8.988 MB / 465.4 MB, free: 4.902 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.796/7.583, allocations: 8.047 kB / 465.4 MB, free: 4.895 MB / 346.7 MB " [Timeout remaining time 652] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.31230602785945] Failed to read output from testmodel.py, exit status != 0: 7.904252737760544 7.914700944 7.155194313 Calling exit ...