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.0014/0.0014, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001483/0.001483, allocations: 215 kB / 21.45 MB, free: 1.617 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.473/1.473, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2175/0.2175, allocations: 46.92 MB / 357.8 MB, free: 10.34 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 59.91 kB / 0.4916 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1278, allocations: 66 MB / 0.5561 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01238/0.1401, allocations: 8.764 MB / 0.5646 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0161/0.1562, allocations: 14.09 MB / 0.5784 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.006e-05/0.1563, allocations: 4 kB / 0.5784 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.1566, allocations: 47.72 kB / 0.5784 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006103/0.1627, allocations: 2.443 MB / 0.5808 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.436e-05/0.1627, allocations: 11.98 kB / 0.5808 GB, free: 12.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.1629, allocations: 127.2 kB / 0.581 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/0.163, allocations: 12 kB / 0.581 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.1631, allocations: 63.7 kB / 0.581 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.1632, allocations: 43.84 kB / 0.5811 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.1632, allocations: 0 / 0.5811 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01164/0.1749, allocations: 7.333 MB / 0.5882 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.1749, allocations: 11.94 kB / 0.5882 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.397e-05/0.175, allocations: 43.84 kB / 0.5883 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3019/0.4768, allocations: 6.331 MB / 0.5945 GB, free: 10.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.4769, allocations: 1.375 kB / 0.5945 GB, free: 10.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.4769, allocations: 0 / 0.5945 GB, free: 10.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.4769, allocations: 0 / 0.5945 GB, free: 10.17 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.006578/0.4834, allocations: 0.7283 MB / 0.5952 GB, free: 9.621 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.4835, allocations: 11.81 kB / 0.5952 GB, free: 9.621 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.299e-05/0.4835, allocations: 1.781 kB / 0.5952 GB, free: 9.621 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.4836, allocations: 45.72 kB / 0.5952 GB, free: 9.582 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002804/0.4838, allocations: 26.19 kB / 0.5953 GB, free: 9.578 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.187e-05/0.4839, allocations: 171.1 kB / 0.5954 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.484, allocations: 10.84 kB / 0.5954 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.484, allocations: 7.75 kB / 0.5954 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.4844, allocations: 125.8 kB / 0.5956 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.4844, allocations: 1.125 kB / 0.5956 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.4845, allocations: 5.078 kB / 0.5956 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.4845, allocations: 2.656 kB / 0.5956 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/0.4849, allocations: 116.6 kB / 0.5957 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006697/0.4856, allocations: 0.6012 MB / 0.5963 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005802/0.4861, allocations: 133.8 kB / 0.5964 GB, free: 8.762 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.4863, allocations: 52.23 kB / 0.5964 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00327/0.4896, allocations: 1.982 MB / 0.5984 GB, free: 7.059 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005626/0.4901, allocations: 138.4 kB / 0.5985 GB, free: 7.008 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.745e-06/0.4901, allocations: 2.594 kB / 0.5985 GB, free: 7.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001168/0.4913, allocations: 231.5 kB / 0.5987 GB, free: 6.973 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.4913, allocations: 53.66 kB / 0.5988 GB, free: 6.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.589e-05/0.4914, allocations: 106.7 kB / 0.5989 GB, free: 6.809 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.4914, allocations: 32.25 kB / 0.5989 GB, free: 6.777 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.4915, allocations: 91.62 kB / 0.599 GB, free: 6.691 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/0.4915, allocations: 52.83 kB / 0.5991 GB, free: 6.656 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.523e-05/0.4916, allocations: 39.98 kB / 0.5991 GB, free: 6.641 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.371e-05/0.4917, allocations: 321.8 kB / 0.5994 GB, free: 6.324 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.4919, allocations: 45.69 kB / 0.5994 GB, free: 6.324 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.4921, allocations: 60.98 kB / 0.5995 GB, free: 6.309 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.4925, allocations: 112.6 kB / 0.5996 GB, free: 6.293 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4925, allocations: 0 / 0.5996 GB, free: 6.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005998/0.4931, allocations: 154.3 kB / 0.5998 GB, free: 6.258 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4931, allocations: 6.109 kB / 0.5998 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4931, allocations: 2.312 kB / 0.5998 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.4931, allocations: 2.969 kB / 0.5998 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.4933, allocations: 25.22 kB / 0.5998 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.4933, allocations: 2.328 kB / 0.5998 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.4935, allocations: 24.09 kB / 0.5998 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.4935, allocations: 6.906 kB / 0.5998 GB, free: 6.25 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 9.715e-05/0.4936, allocations: 130 kB / 0.5999 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.687e-05/0.4937, allocations: 6.391 kB / 0.6 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008562/0.4946, allocations: 347.6 kB / 0.6003 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006199/0.4952, allocations: 298.5 kB / 0.6006 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.4952, allocations: 0.9688 kB / 0.6006 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.4952, allocations: 4.266 kB / 0.6006 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.4966, allocations: 0.7073 MB / 0.6013 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4966, allocations: 0 / 0.6013 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.4968, allocations: 33.23 kB / 0.6013 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.4968, allocations: 2.609 kB / 0.6013 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.4968, allocations: 5.922 kB / 0.6013 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.4968, allocations: 2.219 kB / 0.6013 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4968, allocations: 0 / 0.6013 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.4979, allocations: 460 kB / 0.6017 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.4979, allocations: 94.36 kB / 0.6018 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.4979, allocations: 9.422 kB / 0.6018 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.4982, allocations: 26.48 kB / 0.6019 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.4983, allocations: 18.72 kB / 0.6019 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.4983, allocations: 9.25 kB / 0.6019 GB, free: 5.457 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.284e-05/0.4984, allocations: 84.23 kB / 0.602 GB, free: 5.383 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4984, allocations: 3.359 kB / 0.602 GB, free: 5.383 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00484/0.5032, allocations: 464.4 kB / 0.6024 GB, free: 5.301 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.02179/0.525, allocations: 5.768 MB / 0.6081 GB, free: 2.336 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006435/0.5257, allocations: 189 kB / 0.6082 GB, free: 2.301 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.5257, allocations: 2.844 kB / 0.6082 GB, free: 2.301 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.5259, allocations: 106.4 kB / 0.6083 GB, free: 2.301 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/0.5265, allocations: 82.77 kB / 0.6084 GB, free: 2.293 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004735/0.5313, allocations: 1.97 MB / 0.6103 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.5316, allocations: 0.7195 MB / 0.611 GB, free: 16.28 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.5317, allocations: 48.17 kB / 0.6111 GB, free: 16.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.562e-05/0.5318, allocations: 52.17 kB / 0.6111 GB, free: 16.27 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5318, allocations: 0 / 0.6111 GB, free: 16.27 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0529/0.5847, allocations: 23.36 MB / 0.634 GB, free: 8.465 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.275/9.86, allocations: 11.47 kB / 0.634 GB, free: 8.457 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.509174650011119] Failed to read output from testmodel.py, exit status != 0: ['time'] 10.013698690978345 10.034217692 9.553259377 Calling exit ...