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.0009473/0.0009473, allocations: 92.31 kB / 20.95 MB, free: 3.598 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.0008155/0.0008155, allocations: 164.9 kB / 24.26 MB, free: 292 kB / 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.8807/0.8807, allocations: 177 MB / 204.5 MB, free: 5.621 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.2345/0.2345, allocations: 34.25 MB / 295.2 MB, free: 0.6523 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.543e-06/1.543e-06, allocations: 0 / 376.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.476e-05, allocations: 2.312 kB / 376.7 MB, free: 3.441 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.008035/0.008049, allocations: 8.338 MB / 385 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008297/0.01635, allocations: 12.38 MB / 397.4 MB, free: 14.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.01639, allocations: 0 / 397.4 MB, free: 14.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.01655, allocations: 39.73 kB / 397.4 MB, free: 14.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004552/0.0211, allocations: 2.469 MB / 399.9 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.509e-05/0.02117, allocations: 23.91 kB / 399.9 MB, free: 12.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.02129, allocations: 139.1 kB / 400.1 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.02133, allocations: 11.98 kB / 400.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.02147, allocations: 79.73 kB / 400.2 MB, free: 11.87 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.02153, allocations: 31.91 kB / 400.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.02154, allocations: 4 kB / 400.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006266/0.02781, allocations: 7.141 MB / 407.3 MB, free: 4.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.02783, allocations: 19.91 kB / 407.4 MB, free: 4.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.02788, allocations: 35.98 kB / 407.4 MB, free: 4.625 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008171/0.03605, allocations: 6.644 MB / 414 MB, free: 13.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.03606, allocations: 4 kB / 414 MB, free: 13.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.03606, allocations: 3.938 kB / 414 MB, free: 13.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.03606, allocations: 0 / 414 MB, free: 13.96 MB / 394.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.001922/0.03798, allocations: 0.6597 MB / 414.7 MB, free: 13.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.03802, allocations: 12.03 kB / 414.7 MB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.145e-05/0.03805, allocations: 38.55 kB / 414.7 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.03822, allocations: 55.7 kB / 414.8 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.599e-05/0.03828, allocations: 117.2 kB / 414.9 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.0383, allocations: 4 kB / 414.9 MB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.03832, allocations: 8 kB / 414.9 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.03856, allocations: 214.6 kB / 415.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.03857, allocations: 3.953 kB / 415.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.03858, allocations: 4 kB / 415.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.03859, allocations: 7.938 kB / 415.2 MB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.03877, allocations: 115.9 kB / 415.3 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.03918, allocations: 343.6 kB / 415.6 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.03942, allocations: 130.5 kB / 415.7 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.594e-05/0.03948, allocations: 52.83 kB / 415.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.04057, allocations: 0.6475 MB / 416.4 MB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.04082, allocations: 212.4 kB / 416.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.04082, allocations: 0 / 416.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004546/0.04127, allocations: 257.4 kB / 416.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.0413, allocations: 55.41 kB / 416.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.189e-05/0.04136, allocations: 105.8 kB / 417 MB, free: 10.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.04137, allocations: 33.7 kB / 417.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.0414, allocations: 84.14 kB / 417.2 MB, free: 10.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.04144, allocations: 55.52 kB / 417.2 MB, free: 10.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.04148, allocations: 41.64 kB / 417.3 MB, free: 10.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.432e-05/0.04155, allocations: 326.8 kB / 417.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.361e-05/0.04163, allocations: 43.97 kB / 417.6 MB, free: 10.15 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.833e-05/0.04171, allocations: 64.08 kB / 417.7 MB, free: 10.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.04184, allocations: 105.6 kB / 417.8 MB, free: 9.973 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.04184, allocations: 0 / 417.8 MB, free: 9.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002186/0.04206, allocations: 169.5 kB / 417.9 MB, free: 9.801 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.04207, allocations: 4 kB / 418 MB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.04208, allocations: 4 kB / 418 MB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.04209, allocations: 4 kB / 418 MB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.841e-05/0.04216, allocations: 23.92 kB / 418 MB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.04217, allocations: 0 / 418 MB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.04222, allocations: 19.88 kB / 418 MB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.04223, allocations: 12 kB / 418 MB, free: 9.734 MB / 394.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.33e-05/0.0423, allocations: 117.8 kB / 418.1 MB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.04234, allocations: 31.8 kB / 418.2 MB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/0.0427, allocations: 353.4 kB / 418.5 MB, free: 9.227 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000241/0.04294, allocations: 301.7 kB / 418.8 MB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.04295, allocations: 7.938 kB / 418.8 MB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.04295, allocations: 0 / 418.8 MB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000574/0.04352, allocations: 0.6767 MB / 419.5 MB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.04353, allocations: 3.938 kB / 419.5 MB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.924e-05/0.04361, allocations: 39.91 kB / 419.5 MB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.04361, allocations: 0 / 419.5 MB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.04362, allocations: 4 kB / 419.5 MB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.04362, allocations: 0 / 419.5 MB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.04362, allocations: 4 kB / 419.5 MB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.04403, allocations: 467.2 kB / 420 MB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.04404, allocations: 11.89 kB / 420 MB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.04406, allocations: 7.984 kB / 420 MB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.844e-05/0.04415, allocations: 28.17 kB / 420 MB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.0442, allocations: 27.95 kB / 420.1 MB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.04421, allocations: 12 kB / 420.1 MB, free: 7.582 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.442e-05/0.04424, allocations: 83.27 kB / 420.2 MB, free: 7.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04424, allocations: 0 / 420.2 MB, free: 7.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001457/0.04569, allocations: 462.6 kB / 420.6 MB, free: 7.047 MB / 394.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.01041/0.0561, allocations: 5.86 MB / 426.5 MB, free: 1.152 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.05638, allocations: 181.5 kB / 426.6 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.05638, allocations: 8 kB / 426.7 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.05649, allocations: 99.83 kB / 426.8 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.05681, allocations: 84.03 kB / 426.8 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.05889, allocations: 1.96 MB / 428.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.834e-05/0.05895, allocations: 107.3 kB / 428.9 MB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.809e-05/0.05904, allocations: 56.8 kB / 429 MB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.05909, allocations: 52.42 kB / 429 MB, free: 14.5 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.05909, allocations: 0 / 429 MB, free: 14.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1498/0.2089, allocations: 24.42 MB / 453.4 MB, free: 94.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/7.952, allocations: 12.72 kB / 453.4 MB, free: 94.32 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: 9.921444246545434] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.058726999908686 8.066769529 8.029240185 Calling exit ...