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.001142/0.001142, 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.0009107/0.0009107, 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.8622/0.8622, allocations: 177 MB / 204.1 MB, free: 5.746 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.2403/0.2403, allocations: 34.24 MB / 294.8 MB, free: 0.6797 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 2.735e-06/2.735e-06, allocations: 0 / 442.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.966e-05, allocations: 9.094 kB / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.1932/0.1932, allocations: 8.32 MB / 450.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007141/0.2004, allocations: 12.38 MB / 462.9 MB, free: 32.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.2004, allocations: 11.03 kB / 462.9 MB, free: 32.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.2006, allocations: 37.53 kB / 462.9 MB, free: 32.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00404/0.2046, allocations: 2.468 MB / 465.4 MB, free: 31.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.336e-05/0.2047, allocations: 20.88 kB / 465.4 MB, free: 31.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.2048, allocations: 135.7 kB / 465.5 MB, free: 30.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.2048, allocations: 6.609 kB / 465.5 MB, free: 30.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.205, allocations: 83.16 kB / 465.6 MB, free: 30.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.334e-05/0.2051, allocations: 42.22 kB / 465.6 MB, free: 30.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.2051, allocations: 3.188 kB / 465.7 MB, free: 30.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005986/0.2111, allocations: 7.137 MB / 472.8 MB, free: 30.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.2111, allocations: 18.56 kB / 472.8 MB, free: 30.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.2111, allocations: 32.67 kB / 472.8 MB, free: 30.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007123/0.2183, allocations: 6.641 MB / 479.5 MB, free: 29.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2183, allocations: 4 kB / 479.5 MB, free: 29.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2183, allocations: 1.125 kB / 479.5 MB, free: 29.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2183, allocations: 0 / 479.5 MB, free: 29.34 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.002582/0.2208, allocations: 0.6594 MB / 480.1 MB, free: 28.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.2209, allocations: 10.28 kB / 480.2 MB, free: 28.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/0.2209, allocations: 44.11 kB / 480.2 MB, free: 28.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.221, allocations: 23.69 kB / 480.2 MB, free: 28.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.225e-05/0.2211, allocations: 120.7 kB / 480.3 MB, free: 28.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.2211, allocations: 7.219 kB / 480.3 MB, free: 28.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.2212, allocations: 8.906 kB / 480.4 MB, free: 28.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.2214, allocations: 200.4 kB / 480.5 MB, free: 28.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2215, allocations: 4 kB / 480.6 MB, free: 28.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.2215, allocations: 6.516 kB / 480.6 MB, free: 28.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2215, allocations: 9.062 kB / 480.6 MB, free: 28.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.2217, allocations: 109.8 kB / 480.7 MB, free: 28.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.2221, allocations: 349.5 kB / 481 MB, free: 28.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.2224, allocations: 132.9 kB / 481.1 MB, free: 28.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.409e-05/0.2225, allocations: 51.45 kB / 481.2 MB, free: 28.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/0.2239, allocations: 0.6424 MB / 481.8 MB, free: 27.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/0.2242, allocations: 229.7 kB / 482.1 MB, free: 27.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/0.2242, allocations: 0 / 482.1 MB, free: 27.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005062/0.2247, allocations: 233.2 kB / 482.3 MB, free: 27.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.2247, allocations: 55.16 kB / 482.3 MB, free: 27.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.737e-05/0.2247, allocations: 110.2 kB / 482.5 MB, free: 27.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.2247, allocations: 30.58 kB / 482.5 MB, free: 27.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.2248, allocations: 85.45 kB / 482.6 MB, free: 27.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.2248, allocations: 60.52 kB / 482.6 MB, free: 27.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.2249, allocations: 34.41 kB / 482.7 MB, free: 27.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.2249, allocations: 324.6 kB / 483 MB, free: 27.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.864e-05/0.225, allocations: 44.02 kB / 483 MB, free: 27.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.022e-05/0.2251, allocations: 68.14 kB / 483.1 MB, free: 26.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.2252, allocations: 102.9 kB / 483.2 MB, free: 26.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2252, allocations: 0 / 483.2 MB, free: 26.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002322/0.2255, allocations: 163.3 kB / 483.3 MB, free: 26.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2255, allocations: 4.375 kB / 483.4 MB, free: 26.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2255, allocations: 1.938 kB / 483.4 MB, free: 26.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2255, allocations: 4.469 kB / 483.4 MB, free: 26.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.2256, allocations: 21.41 kB / 483.4 MB, free: 26.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2256, allocations: 1.219 kB / 483.4 MB, free: 26.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.095e-05/0.2257, allocations: 23.75 kB / 483.4 MB, free: 26.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.2257, allocations: 9.312 kB / 483.4 MB, free: 26.85 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.85e-05/0.2257, allocations: 128.3 kB / 483.5 MB, free: 26.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.2258, allocations: 10.06 kB / 483.5 MB, free: 26.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/0.2262, allocations: 351 kB / 483.9 MB, free: 26.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002845/0.2265, allocations: 306 kB / 484.2 MB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2265, allocations: 3.938 kB / 484.2 MB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2265, allocations: 2.453 kB / 484.2 MB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006446/0.2271, allocations: 0.6742 MB / 484.9 MB, free: 26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2271, allocations: 4 kB / 484.9 MB, free: 26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.129e-05/0.2272, allocations: 27.67 kB / 484.9 MB, free: 26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2272, allocations: 1.156 kB / 484.9 MB, free: 26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.2272, allocations: 10.69 kB / 484.9 MB, free: 26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2272, allocations: 0 / 484.9 MB, free: 26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2272, allocations: 1.531 kB / 484.9 MB, free: 26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.2277, allocations: 459.2 kB / 485.4 MB, free: 25.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.2277, allocations: 21.03 kB / 485.4 MB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.2277, allocations: 6.891 kB / 485.4 MB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.2278, allocations: 29.66 kB / 485.4 MB, free: 25.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.2279, allocations: 23.95 kB / 485.4 MB, free: 25.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.2279, allocations: 11.12 kB / 485.5 MB, free: 25.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.726e-05/0.2279, allocations: 81.66 kB / 485.5 MB, free: 25.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2279, allocations: 0 / 485.5 MB, free: 25.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002204/0.2301, allocations: 464.9 kB / 486 MB, free: 25.52 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.01115/0.2412, allocations: 5.841 MB / 491.8 MB, free: 22.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.2415, allocations: 189.9 kB / 492 MB, free: 22.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2415, allocations: 4 kB / 492 MB, free: 22.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.2417, allocations: 103.6 kB / 492.1 MB, free: 22.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.242, allocations: 82.33 kB / 492.2 MB, free: 22.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.2442, allocations: 1.939 MB / 494.1 MB, free: 20.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.2443, allocations: 105.8 kB / 494.2 MB, free: 20.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.2444, allocations: 53.17 kB / 494.3 MB, free: 20.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.2445, allocations: 49.81 kB / 494.3 MB, free: 20.51 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2445, allocations: 0 / 494.3 MB, free: 20.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03645/0.281, allocations: 24.36 MB / 0.5065 GB, free: 4.055 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/7.917, allocations: 8.109 kB / 0.5066 GB, free: 4.051 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.025344803929329] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.021181359887123 8.029314094 7.808724492 Calling exit ...