Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.001776/0.001776, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.002295/0.002295, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.493/1.493, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2231/0.2231, allocations: 46.93 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 59.91 kB / 0.4909 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1319, allocations: 66 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.0124/0.1443, allocations: 8.764 MB / 0.5639 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01647/0.1608, allocations: 14.09 MB / 0.5777 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.699e-05/0.1609, allocations: 0 / 0.5777 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.1611, allocations: 43.72 kB / 0.5777 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007262/0.1684, allocations: 2.446 MB / 0.5801 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001063/0.1685, allocations: 19.95 kB / 0.5802 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1687, allocations: 123.3 kB / 0.5803 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.7e-05/0.1688, allocations: 15.94 kB / 0.5803 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.1689, allocations: 59.7 kB / 0.5803 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.23e-05/0.169, allocations: 39.84 kB / 0.5804 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.169, allocations: 4 kB / 0.5804 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01244/0.1815, allocations: 7.329 MB / 0.5875 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.1815, allocations: 19.91 kB / 0.5876 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.1817, allocations: 43.86 kB / 0.5876 GB, free: 4.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2699/0.4515, allocations: 6.326 MB / 0.5938 GB, free: 10.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4515, allocations: 1.031 kB / 0.5938 GB, free: 10.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4515, allocations: 0.7031 kB / 0.5938 GB, free: 10.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.4515, allocations: 0 / 0.5938 GB, free: 10.11 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.004644/0.4562, allocations: 0.7287 MB / 0.5945 GB, free: 9.555 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.4562, allocations: 10.97 kB / 0.5945 GB, free: 9.555 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.4563, allocations: 43.88 kB / 0.5945 GB, free: 9.516 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/0.4565, allocations: 21.23 kB / 0.5946 GB, free: 9.512 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.179e-05/0.4566, allocations: 178.6 kB / 0.5947 GB, free: 9.309 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.4566, allocations: 6.969 kB / 0.5947 GB, free: 9.309 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.4566, allocations: 9.594 kB / 0.5948 GB, free: 9.309 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.457, allocations: 128.6 kB / 0.5949 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.457, allocations: 1.312 kB / 0.5949 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.457, allocations: 3.094 kB / 0.5949 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.457, allocations: 3.375 kB / 0.5949 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.4574, allocations: 115.5 kB / 0.595 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.4579, allocations: 0.6024 MB / 0.5956 GB, free: 8.719 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.4584, allocations: 134.5 kB / 0.5957 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.4585, allocations: 49.67 kB / 0.5958 GB, free: 8.688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002577/0.4611, allocations: 1.978 MB / 0.5977 GB, free: 6.992 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.4615, allocations: 138.8 kB / 0.5978 GB, free: 6.941 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.4615, allocations: 0 / 0.5978 GB, free: 6.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008466/0.4624, allocations: 232.6 kB / 0.598 GB, free: 6.906 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.4624, allocations: 60.16 kB / 0.5981 GB, free: 6.844 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.729e-05/0.4625, allocations: 106.1 kB / 0.5982 GB, free: 6.742 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.4625, allocations: 30.81 kB / 0.5982 GB, free: 6.711 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.4625, allocations: 91 kB / 0.5983 GB, free: 6.625 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.4626, allocations: 52.62 kB / 0.5984 GB, free: 6.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/0.4626, allocations: 37.17 kB / 0.5984 GB, free: 6.574 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.319e-05/0.4627, allocations: 322.5 kB / 0.5987 GB, free: 6.258 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.4628, allocations: 45.94 kB / 0.5988 GB, free: 6.258 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.463, allocations: 68.03 kB / 0.5988 GB, free: 6.242 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.4633, allocations: 106.1 kB / 0.5989 GB, free: 6.227 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4633, allocations: 0 / 0.5989 GB, free: 6.227 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004137/0.4637, allocations: 162.1 kB / 0.5991 GB, free: 6.191 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4637, allocations: 6.422 kB / 0.5991 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.4637, allocations: 0 / 0.5991 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.4637, allocations: 1.25 kB / 0.5991 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.4638, allocations: 26.72 kB / 0.5991 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4638, allocations: 1.938 kB / 0.5991 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.464, allocations: 23.36 kB / 0.5991 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.464, allocations: 7.234 kB / 0.5991 GB, free: 6.184 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 (dT,$PRE.dT,state_check.phase,p,$PRE.p,state.phase,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.044e-05/0.464, allocations: 122.1 kB / 0.5993 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.471e-05/0.4641, allocations: 10.12 kB / 0.5993 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006454/0.4648, allocations: 352.7 kB / 0.5996 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004467/0.4652, allocations: 293.8 kB / 0.5999 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4652, allocations: 4.5 kB / 0.5999 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.4652, allocations: 6.328 kB / 0.5999 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.4664, allocations: 0.7 MB / 0.6006 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.4664, allocations: 1.359 kB / 0.6006 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.4665, allocations: 29.45 kB / 0.6006 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.4665, allocations: 1.312 kB / 0.6006 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.4665, allocations: 9.281 kB / 0.6006 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.4666, allocations: 4.906 kB / 0.6006 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4666, allocations: 1.062 kB / 0.6006 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008534/0.4674, allocations: 454 kB / 0.6011 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.4675, allocations: 94.17 kB / 0.6011 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.4675, allocations: 11.92 kB / 0.6012 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.4677, allocations: 28.86 kB / 0.6012 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/0.4678, allocations: 17.81 kB / 0.6012 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.4678, allocations: 10.89 kB / 0.6012 GB, free: 5.391 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.822e-05/0.4678, allocations: 81.2 kB / 0.6013 GB, free: 5.316 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4678, allocations: 3.938 kB / 0.6013 GB, free: 5.316 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004698/0.4725, allocations: 461.7 kB / 0.6017 GB, free: 5.234 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (T) * Number of discrete variables: 10 (state.phase,$cse3.phase,$cse4,$cse5.phase,$whenCondition3,$whenCondition2,$whenCondition1,p,state_check.phase,dT) * Number of discrete states: 2 (dT,p) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.01908/0.4916, allocations: 5.773 MB / 0.6074 GB, free: 2.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006033/0.4922, allocations: 187.7 kB / 0.6075 GB, free: 2.234 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4922, allocations: 2.375 kB / 0.6075 GB, free: 2.234 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.4924, allocations: 101.6 kB / 0.6076 GB, free: 2.234 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.4931, allocations: 84.09 kB / 0.6077 GB, free: 2.223 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004709/0.4978, allocations: 1.973 MB / 0.6097 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.4981, allocations: 0.7191 MB / 0.6104 GB, free: 16.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000158/0.4983, allocations: 56.02 kB / 0.6104 GB, free: 16.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.328e-05/0.4983, allocations: 49.7 kB / 0.6105 GB, free: 16.2 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4983, allocations: 0 / 0.6105 GB, free: 16.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1609/0.6592, allocations: 23.32 MB / 0.6332 GB, free: 8.422 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.622/10.28, allocations: 12.53 kB / 0.6332 GB, free: 8.41 MB / 462.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.029022385831922] Failed to read output from testmodel.py, exit status != 0: ['time'] 10.383059088140726 10.408298351000001 9.951817086 Calling exit ...