Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001188, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008783/0.0008783, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.88/0.88, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.268/0.268, allocations: 34.24 MB / 294.8 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.79e-05, allocations: 6.281 kB / 442.1 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.1941/0.1941, allocations: 8.329 MB / 450.5 MB, free: 40.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007859/0.202, allocations: 12.38 MB / 462.9 MB, free: 32.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.612e-05/0.202, allocations: 3.094 kB / 462.9 MB, free: 32.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.2022, allocations: 38.39 kB / 462.9 MB, free: 32.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004901/0.2071, allocations: 2.474 MB / 465.4 MB, free: 31.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.513e-05/0.2072, allocations: 24.55 kB / 465.4 MB, free: 31.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.2073, allocations: 134.9 kB / 465.5 MB, free: 30.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.078e-05/0.2074, allocations: 7.078 kB / 465.5 MB, free: 30.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.2076, allocations: 82.27 kB / 465.6 MB, free: 30.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.862e-05/0.2076, allocations: 33.86 kB / 465.6 MB, free: 30.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.2076, allocations: 3.188 kB / 465.7 MB, free: 30.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007797/0.2154, allocations: 7.145 MB / 472.8 MB, free: 30.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.2155, allocations: 14.56 kB / 472.8 MB, free: 30.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.2156, allocations: 37.42 kB / 472.8 MB, free: 30.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.2272, allocations: 6.639 MB / 479.5 MB, free: 29.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.2272, allocations: 1.25 kB / 479.5 MB, free: 29.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.2272, allocations: 0 / 479.5 MB, free: 29.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.2272, allocations: 0 / 479.5 MB, free: 29.33 MB / 410.7 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.005448/0.2327, allocations: 0.6638 MB / 480.2 MB, free: 28.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2327, allocations: 12.78 kB / 480.2 MB, free: 28.83 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.06e-05/0.2328, allocations: 41.69 kB / 480.2 MB, free: 28.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.2329, allocations: 26.97 kB / 480.2 MB, free: 28.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.872e-05/0.2329, allocations: 112.1 kB / 480.3 MB, free: 28.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.233, allocations: 11.41 kB / 480.4 MB, free: 28.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.233, allocations: 5.875 kB / 480.4 MB, free: 28.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.2332, allocations: 204.2 kB / 480.6 MB, free: 28.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2333, allocations: 3.938 kB / 480.6 MB, free: 28.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2333, allocations: 1.125 kB / 480.6 MB, free: 28.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.2333, allocations: 9.234 kB / 480.6 MB, free: 28.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.2335, allocations: 113.2 kB / 480.7 MB, free: 28.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.2339, allocations: 347.9 kB / 481 MB, free: 28.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.2342, allocations: 131.2 kB / 481.1 MB, free: 28.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.283e-05/0.2343, allocations: 51.64 kB / 481.2 MB, free: 28.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001718/0.236, allocations: 0.6474 MB / 481.8 MB, free: 27.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002941/0.2363, allocations: 220.1 kB / 482.1 MB, free: 27.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.916e-06/0.2363, allocations: 0 / 482.1 MB, free: 27.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.000526/0.2368, allocations: 239.7 kB / 482.3 MB, free: 27.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.2369, allocations: 58.64 kB / 482.4 MB, free: 27.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.973e-05/0.2369, allocations: 110.8 kB / 482.5 MB, free: 27.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.2369, allocations: 27.2 kB / 482.5 MB, free: 27.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.649e-05/0.2369, allocations: 88.55 kB / 482.6 MB, free: 27.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.237, allocations: 47.7 kB / 482.6 MB, free: 27.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.237, allocations: 40.05 kB / 482.7 MB, free: 27.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.305e-05/0.2371, allocations: 323.7 kB / 483 MB, free: 27.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.2371, allocations: 47.62 kB / 483 MB, free: 27.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.926e-05/0.2372, allocations: 63.97 kB / 483.1 MB, free: 26.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.2374, allocations: 103.3 kB / 483.2 MB, free: 26.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2374, allocations: 0 / 483.2 MB, free: 26.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002361/0.2376, allocations: 159.5 kB / 483.3 MB, free: 26.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2376, allocations: 8.969 kB / 483.3 MB, free: 26.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.2376, allocations: 2.078 kB / 483.4 MB, free: 26.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2377, allocations: 3 kB / 483.4 MB, free: 26.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.068e-05/0.2377, allocations: 26.45 kB / 483.4 MB, free: 26.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.2378, allocations: 1.469 kB / 483.4 MB, free: 26.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.577e-05/0.2378, allocations: 19.98 kB / 483.4 MB, free: 26.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.2379, allocations: 8.734 kB / 483.4 MB, free: 26.84 MB / 410.7 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.phase,p,$PRE.p,state_check.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 6.66e-05/0.2379, allocations: 128 kB / 483.5 MB, free: 26.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.238, allocations: 14.41 kB / 483.5 MB, free: 26.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000447/0.2384, allocations: 350.9 kB / 483.9 MB, free: 26.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003088/0.2387, allocations: 298.3 kB / 484.2 MB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2387, allocations: 3.938 kB / 484.2 MB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2387, allocations: 2.5 kB / 484.2 MB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008853/0.2396, allocations: 0.6811 MB / 484.9 MB, free: 25.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2396, allocations: 0 / 484.9 MB, free: 25.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.2397, allocations: 34.61 kB / 484.9 MB, free: 25.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.2397, allocations: 4.938 kB / 484.9 MB, free: 25.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.2398, allocations: 10.16 kB / 484.9 MB, free: 25.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.2398, allocations: 1.219 kB / 484.9 MB, free: 25.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2398, allocations: 1.156 kB / 484.9 MB, free: 25.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.2403, allocations: 460.7 kB / 485.4 MB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.2403, allocations: 16.09 kB / 485.4 MB, free: 25.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.2403, allocations: 7.266 kB / 485.4 MB, free: 25.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.2405, allocations: 29.84 kB / 485.4 MB, free: 25.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.2405, allocations: 20.38 kB / 485.4 MB, free: 25.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.2405, allocations: 16.11 kB / 485.5 MB, free: 25.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.936e-05/0.2405, allocations: 80.91 kB / 485.5 MB, free: 25.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2405, allocations: 0 / 485.5 MB, free: 25.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004298/0.2448, allocations: 459.7 kB / 486 MB, free: 25.51 MB / 410.7 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,dT,state_check.phase,p) * 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.01822/0.2631, allocations: 5.849 MB / 491.8 MB, free: 22.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004505/0.2635, allocations: 184.5 kB / 492 MB, free: 22.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2635, allocations: 1.312 kB / 492 MB, free: 22.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.2637, allocations: 106 kB / 492.1 MB, free: 22.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.2641, allocations: 82.27 kB / 492.2 MB, free: 22.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.2683, allocations: 1.927 MB / 494.1 MB, free: 20.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.995e-05/0.2684, allocations: 108.8 kB / 494.2 MB, free: 20.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.2686, allocations: 57.81 kB / 494.3 MB, free: 20.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/0.2687, allocations: 50.02 kB / 494.3 MB, free: 20.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2687, allocations: 0 / 494.3 MB, free: 20.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04437/0.313, allocations: 24.36 MB / 0.5065 GB, free: 4.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.168, allocations: 11.88 kB / 0.5066 GB, free: 4.062 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.29506393801421] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.278734628111124 8.286111986 8.057026292 Calling exit ...