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.001605/0.001605, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001472/0.001472, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2364/0.2364, allocations: 46.98 MB / 360.9 MB, free: 4.023 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="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 0.002032/0.002032, allocations: 71.89 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2982, allocations: 66.03 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01207/0.3103, allocations: 8.338 MB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.3259, allocations: 12.4 MB / 0.5808 GB, free: 15.42 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.3259, allocations: 4 kB / 0.5808 GB, free: 15.42 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.3261, allocations: 35.8 kB / 0.5809 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007428/0.3336, allocations: 2.431 MB / 0.5833 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.3337, allocations: 27.84 kB / 0.5833 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.3339, allocations: 131.2 kB / 0.5834 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.3339, allocations: 0 / 0.5834 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.3341, allocations: 59.83 kB / 0.5835 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.3342, allocations: 51.66 kB / 0.5835 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.3342, allocations: 4 kB / 0.5835 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01342/0.3477, allocations: 7.126 MB / 0.5905 GB, free: 5.535 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.3477, allocations: 15.97 kB / 0.5905 GB, free: 5.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.3478, allocations: 39.86 kB / 0.5905 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01823/0.3661, allocations: 6.336 MB / 0.5967 GB, free: 15.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3661, allocations: 0 / 0.5967 GB, free: 15.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3661, allocations: 0 / 0.5967 GB, free: 15.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.3661, allocations: 0 / 0.5967 GB, free: 15.14 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.003932/0.37, allocations: 0.6675 MB / 0.5974 GB, free: 14.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3701, allocations: 8.031 kB / 0.5974 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.3701, allocations: 38.56 kB / 0.5974 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.3703, allocations: 27.94 kB / 0.5974 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3704, allocations: 117.1 kB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.3705, allocations: 8 kB / 0.5976 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.3705, allocations: 4 kB / 0.5976 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.3709, allocations: 210.7 kB / 0.5978 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3709, allocations: 3.984 kB / 0.5978 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.3709, allocations: 0 / 0.5978 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.371, allocations: 7.984 kB / 0.5978 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.3713, allocations: 111.9 kB / 0.5979 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006319/0.3719, allocations: 359.6 kB / 0.5982 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/0.3724, allocations: 122.6 kB / 0.5983 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.3725, allocations: 52.83 kB / 0.5984 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00218/0.3747, allocations: 0.6476 MB / 0.599 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004029/0.3751, allocations: 216.4 kB / 0.5992 GB, free: 12.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.3751, allocations: 0 / 0.5992 GB, free: 12.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008053/0.3759, allocations: 233.5 kB / 0.5995 GB, free: 12.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.3759, allocations: 55.41 kB / 0.5995 GB, free: 12.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.047e-05/0.376, allocations: 105.8 kB / 0.5996 GB, free: 11.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3761, allocations: 33.64 kB / 0.5996 GB, free: 11.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.3761, allocations: 95.81 kB / 0.5997 GB, free: 11.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/0.3762, allocations: 51.62 kB / 0.5998 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.3762, allocations: 33.7 kB / 0.5998 GB, free: 11.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3764, allocations: 326.8 kB / 0.6001 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.3765, allocations: 43.97 kB / 0.6002 GB, free: 11.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.3767, allocations: 69.67 kB / 0.6002 GB, free: 11.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.3769, allocations: 96.75 kB / 0.6003 GB, free: 11.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3769, allocations: 0 / 0.6003 GB, free: 11.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004046/0.3774, allocations: 165.5 kB / 0.6005 GB, free: 11.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3774, allocations: 4 kB / 0.6005 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3774, allocations: 11.94 kB / 0.6005 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3774, allocations: 0 / 0.6005 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.3775, allocations: 27.92 kB / 0.6005 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.3775, allocations: 0 / 0.6005 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.3776, allocations: 23.88 kB / 0.6005 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.3777, allocations: 11.98 kB / 0.6006 GB, free: 10.95 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.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 0.0001133/0.3778, allocations: 113.8 kB / 0.6007 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.3778, allocations: 7.953 kB / 0.6007 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006342/0.3785, allocations: 365.3 kB / 0.601 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004741/0.3789, allocations: 301.6 kB / 0.6013 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3789, allocations: 0 / 0.6013 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.379, allocations: 3.984 kB / 0.6013 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.3801, allocations: 0.6768 MB / 0.602 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.3801, allocations: 3.984 kB / 0.602 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.3802, allocations: 35.86 kB / 0.602 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3802, allocations: 0 / 0.602 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.3802, allocations: 8 kB / 0.602 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3802, allocations: 4 kB / 0.602 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3802, allocations: 0 / 0.602 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007603/0.381, allocations: 459.2 kB / 0.6025 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.381, allocations: 19.81 kB / 0.6025 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.381, allocations: 8 kB / 0.6025 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.3812, allocations: 28.03 kB / 0.6025 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.3813, allocations: 15.97 kB / 0.6025 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.3813, allocations: 12 kB / 0.6025 GB, free: 8.828 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.243e-05/0.3814, allocations: 83.27 kB / 0.6026 GB, free: 8.746 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3814, allocations: 0 / 0.6026 GB, free: 8.746 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00272/0.3841, allocations: 454.7 kB / 0.6031 GB, free: 8.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,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.01807/0.4022, allocations: 5.784 MB / 0.6087 GB, free: 2.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006032/0.4028, allocations: 189.5 kB / 0.6089 GB, free: 2.289 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4028, allocations: 0 / 0.6089 GB, free: 2.289 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.403, allocations: 107.8 kB / 0.609 GB, free: 2.184 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005782/0.4036, allocations: 86.59 kB / 0.6091 GB, free: 2.102 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004864/0.4084, allocations: 1.973 MB / 0.611 GB, free: 48 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.4086, allocations: 103.1 kB / 0.6111 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.4088, allocations: 52.86 kB / 0.6111 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.4089, allocations: 47.42 kB / 0.6112 GB, free: 15.82 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4089, allocations: 3.938 kB / 0.6112 GB, free: 15.82 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06058/0.4695, allocations: 24.18 MB / 0.6348 GB, free: 7.781 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.66, allocations: 10.95 kB / 0.6348 GB, free: 7.777 MB / 478.1 MB " [Timeout remaining time 647] (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: 16.36199110094458] Failed to read output from testmodel.py, exit status != 0: ['time'] 12.797537485603243 12.81302172 12.443756899 Calling exit ...