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.0008348/0.0008348, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001122/0.001122, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8772/0.8772, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2508/0.2508, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 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 1.563e-06/1.563e-06, allocations: 0 / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043e-05/1.199e-05, allocations: 2.281 kB / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.164/0.164, allocations: 8.32 MB / 450.5 MB, free: 40.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006352/0.1703, allocations: 12.37 MB / 462.9 MB, free: 32.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/0.1704, allocations: 0 / 462.9 MB, free: 32.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.1705, allocations: 42.89 kB / 462.9 MB, free: 32.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.1731, allocations: 2.47 MB / 465.4 MB, free: 31.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.458e-05/0.1732, allocations: 25.14 kB / 465.4 MB, free: 31.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.208e-05/0.1733, allocations: 131.8 kB / 465.5 MB, free: 31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.237e-05/0.1733, allocations: 11.52 kB / 465.5 MB, free: 31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1734, allocations: 81.66 kB / 465.6 MB, free: 30.97 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.1735, allocations: 29.73 kB / 465.6 MB, free: 30.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1735, allocations: 0 / 465.6 MB, free: 30.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005265/0.1787, allocations: 7.156 MB / 472.8 MB, free: 30.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.1787, allocations: 13.97 kB / 472.8 MB, free: 30.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.1788, allocations: 33.06 kB / 472.8 MB, free: 30.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006701/0.1855, allocations: 6.641 MB / 479.5 MB, free: 29.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1855, allocations: 1.062 kB / 479.5 MB, free: 29.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1855, allocations: 0 / 479.5 MB, free: 29.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.1855, allocations: 0 / 479.5 MB, free: 29.36 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.002585/0.1881, allocations: 0.6638 MB / 480.2 MB, free: 28.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1881, allocations: 9.719 kB / 480.2 MB, free: 28.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.719e-05/0.1881, allocations: 44.16 kB / 480.2 MB, free: 28.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.1883, allocations: 29.59 kB / 480.2 MB, free: 28.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.663e-05/0.1883, allocations: 119.4 kB / 480.4 MB, free: 28.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.1883, allocations: 7.25 kB / 480.4 MB, free: 28.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.1884, allocations: 5.625 kB / 480.4 MB, free: 28.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.1886, allocations: 205.9 kB / 480.6 MB, free: 28.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1886, allocations: 1.031 kB / 480.6 MB, free: 28.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1886, allocations: 5.5 kB / 480.6 MB, free: 28.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1886, allocations: 4.75 kB / 480.6 MB, free: 28.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1888, allocations: 117.4 kB / 480.7 MB, free: 28.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.1892, allocations: 355.6 kB / 481 MB, free: 28.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.1894, allocations: 128.3 kB / 481.2 MB, free: 28.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.803e-05/0.1895, allocations: 53.61 kB / 481.2 MB, free: 28.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/0.1908, allocations: 0.6448 MB / 481.9 MB, free: 27.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.191, allocations: 220.2 kB / 482.1 MB, free: 27.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.191, allocations: 0 / 482.1 MB, free: 27.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004641/0.1915, allocations: 240.8 kB / 482.3 MB, free: 27.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.1915, allocations: 55.19 kB / 482.4 MB, free: 27.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.931e-05/0.1916, allocations: 106.5 kB / 482.5 MB, free: 27.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.1916, allocations: 31.86 kB / 482.5 MB, free: 27.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.815e-05/0.1916, allocations: 88.17 kB / 482.6 MB, free: 27.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.1916, allocations: 49.56 kB / 482.6 MB, free: 27.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.1917, allocations: 41.34 kB / 482.7 MB, free: 27.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.662e-05/0.1917, allocations: 323.7 kB / 483 MB, free: 27.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.035e-05/0.1918, allocations: 49.03 kB / 483 MB, free: 27.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-05/0.1918, allocations: 60.28 kB / 483.1 MB, free: 27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.192, allocations: 102.5 kB / 483.2 MB, free: 26.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.192, allocations: 0 / 483.2 MB, free: 26.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002178/0.1922, allocations: 159.7 kB / 483.4 MB, free: 26.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1922, allocations: 9 kB / 483.4 MB, free: 26.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1922, allocations: 1.125 kB / 483.4 MB, free: 26.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1922, allocations: 1.812 kB / 483.4 MB, free: 26.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.393e-05/0.1923, allocations: 24.8 kB / 483.4 MB, free: 26.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.1923, allocations: 5.375 kB / 483.4 MB, free: 26.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.308e-05/0.1924, allocations: 24.59 kB / 483.4 MB, free: 26.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.1924, allocations: 4.781 kB / 483.4 MB, free: 26.86 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 5.315e-05/0.1924, allocations: 125.9 kB / 483.5 MB, free: 26.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.1925, allocations: 10.03 kB / 483.6 MB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.1928, allocations: 354.2 kB / 483.9 MB, free: 26.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002475/0.1931, allocations: 302.5 kB / 484.2 MB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1931, allocations: 4.5 kB / 484.2 MB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1931, allocations: 0.9375 kB / 484.2 MB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.1937, allocations: 0.678 MB / 484.9 MB, free: 26.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1937, allocations: 1.188 kB / 484.9 MB, free: 26.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.707e-05/0.1937, allocations: 32.25 kB / 484.9 MB, free: 26.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1937, allocations: 2.078 kB / 484.9 MB, free: 26.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1938, allocations: 5.797 kB / 484.9 MB, free: 26.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1938, allocations: 1.891 kB / 484.9 MB, free: 26.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1938, allocations: 5.406 kB / 484.9 MB, free: 26.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004204/0.1942, allocations: 455.5 kB / 485.4 MB, free: 25.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.1942, allocations: 18.19 kB / 485.4 MB, free: 25.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.1942, allocations: 2.219 kB / 485.4 MB, free: 25.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1943, allocations: 33.53 kB / 485.4 MB, free: 25.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.1944, allocations: 21.06 kB / 485.4 MB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.1944, allocations: 9.578 kB / 485.5 MB, free: 25.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.574e-05/0.1944, allocations: 85.03 kB / 485.5 MB, free: 25.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1944, allocations: 0 / 485.5 MB, free: 25.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001921/0.1963, allocations: 461.5 kB / 486 MB, free: 25.55 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.01134/0.2077, allocations: 5.845 MB / 491.8 MB, free: 22.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003127/0.208, allocations: 194.1 kB / 492 MB, free: 22.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.208, allocations: 0 / 492 MB, free: 22.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.2081, allocations: 105.7 kB / 492.1 MB, free: 22.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.2084, allocations: 81.77 kB / 492.2 MB, free: 22.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.2106, allocations: 1.942 MB / 494.2 MB, free: 20.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.089e-05/0.2107, allocations: 105.7 kB / 494.3 MB, free: 20.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.2108, allocations: 50.09 kB / 494.3 MB, free: 20.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.2108, allocations: 49.41 kB / 494.4 MB, free: 20.54 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2108, allocations: 0 / 494.4 MB, free: 20.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.242, allocations: 24.4 MB / 0.5066 GB, free: 4.148 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/7.944, allocations: 0.5 kB / 0.5066 GB, free: 4.148 MB / 410.7 MB " [Timeout remaining time 652] (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: 10.047733085229993] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.047305083833635 8.05525934 7.868145311 Calling exit ...