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.001743/0.001743, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002136/0.002136, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2229/0.2229, allocations: 46.91 MB / 360.8 MB, free: 4.277 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.002075/0.002075, allocations: 63.89 kB / 0.4962 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3606, allocations: 66.04 MB / 0.5607 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01313/0.3737, allocations: 8.798 MB / 0.5692 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01712/0.3909, allocations: 14.16 MB / 0.5831 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.298e-05/0.3909, allocations: 0 / 0.5831 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.3912, allocations: 47.72 kB / 0.5831 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006903/0.3981, allocations: 2.462 MB / 0.5855 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.875e-05/0.3982, allocations: 11.98 kB / 0.5855 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.3984, allocations: 127.2 kB / 0.5857 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.3984, allocations: 4 kB / 0.5857 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.3986, allocations: 67.7 kB / 0.5857 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.3987, allocations: 43.84 kB / 0.5858 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.3987, allocations: 4 kB / 0.5858 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01234/0.411, allocations: 7.357 MB / 0.593 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.4111, allocations: 23.84 kB / 0.593 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.579e-05/0.4112, allocations: 43.86 kB / 0.593 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01509/0.4263, allocations: 6.34 MB / 0.5992 GB, free: 12.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4263, allocations: 0 / 0.5992 GB, free: 12.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4263, allocations: 8 kB / 0.5992 GB, free: 12.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.4263, allocations: 0 / 0.5992 GB, free: 12.86 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.004352/0.4306, allocations: 0.6714 MB / 0.5999 GB, free: 12.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.4307, allocations: 12.03 kB / 0.5999 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.4307, allocations: 34.56 kB / 0.5999 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.431, allocations: 23.94 kB / 0.5999 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.4311, allocations: 117.1 kB / 0.6 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.4311, allocations: 8 kB / 0.6001 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.4311, allocations: 11.98 kB / 0.6001 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.4315, allocations: 133.5 kB / 0.6002 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.4316, allocations: 0 / 0.6002 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.4316, allocations: 0 / 0.6002 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.4316, allocations: 7.984 kB / 0.6002 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.4319, allocations: 107.9 kB / 0.6003 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008823/0.4328, allocations: 0.5888 MB / 0.6009 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.4333, allocations: 126.6 kB / 0.601 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.4334, allocations: 52.83 kB / 0.6011 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002323/0.4358, allocations: 0.6399 MB / 0.6017 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003723/0.4361, allocations: 139.2 kB / 0.6018 GB, free: 10 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.4361, allocations: 8 kB / 0.6018 GB, free: 9.996 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007933/0.4369, allocations: 228.3 kB / 0.602 GB, free: 9.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.437, allocations: 55.41 kB / 0.6021 GB, free: 9.703 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.476e-05/0.4371, allocations: 109.8 kB / 0.6022 GB, free: 9.586 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.4371, allocations: 29.7 kB / 0.6022 GB, free: 9.551 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.4372, allocations: 103.7 kB / 0.6023 GB, free: 9.445 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.4372, allocations: 51.64 kB / 0.6024 GB, free: 9.395 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.4373, allocations: 33.7 kB / 0.6024 GB, free: 9.355 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4374, allocations: 318.8 kB / 0.6027 GB, free: 9.035 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.4376, allocations: 47.91 kB / 0.6028 GB, free: 8.988 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.4377, allocations: 65.67 kB / 0.6028 GB, free: 8.918 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.438, allocations: 105.7 kB / 0.6029 GB, free: 8.809 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.438, allocations: 0 / 0.6029 GB, free: 8.809 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000421/0.4384, allocations: 156.3 kB / 0.6031 GB, free: 8.652 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4384, allocations: 8 kB / 0.6031 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.4384, allocations: 0 / 0.6031 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4384, allocations: 0 / 0.6031 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.4385, allocations: 27.97 kB / 0.6031 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4386, allocations: 15.88 kB / 0.6031 GB, free: 8.602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.4387, allocations: 19.88 kB / 0.6031 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.4387, allocations: 8 kB / 0.6031 GB, free: 8.574 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.0001137/0.4388, allocations: 113.8 kB / 0.6032 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.339e-05/0.4389, allocations: 7.953 kB / 0.6033 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000632/0.4395, allocations: 377.2 kB / 0.6036 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004648/0.44, allocations: 297.6 kB / 0.6039 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.44, allocations: 0 / 0.6039 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.44, allocations: 3.984 kB / 0.6039 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.4411, allocations: 0.6845 MB / 0.6046 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4411, allocations: 0 / 0.6046 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.4412, allocations: 31.92 kB / 0.6046 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4412, allocations: 7.938 kB / 0.6046 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.4412, allocations: 3.984 kB / 0.6046 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4412, allocations: 4 kB / 0.6046 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4412, allocations: 0 / 0.6046 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007183/0.442, allocations: 455.2 kB / 0.6051 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.442, allocations: 19.81 kB / 0.6051 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.442, allocations: 4 kB / 0.6051 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.4422, allocations: 28.28 kB / 0.6051 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.4423, allocations: 19.97 kB / 0.6051 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.4423, allocations: 15.98 kB / 0.6051 GB, free: 6.441 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.01e-05/0.4424, allocations: 83.28 kB / 0.6052 GB, free: 6.359 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4424, allocations: 0 / 0.6052 GB, free: 6.359 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00253/0.4449, allocations: 454.7 kB / 0.6056 GB, free: 5.914 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.01829/0.4632, allocations: 5.78 MB / 0.6113 GB, free: 100 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005931/0.4638, allocations: 199 kB / 0.6115 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4638, allocations: 0 / 0.6115 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.464, allocations: 103.8 kB / 0.6116 GB, free: 15.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.4646, allocations: 82.61 kB / 0.6117 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/0.469, allocations: 1.97 MB / 0.6136 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.4694, allocations: 0.7173 MB / 0.6143 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.4695, allocations: 52.86 kB / 0.6143 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.708e-05/0.4696, allocations: 47.42 kB / 0.6144 GB, free: 12.81 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4696, allocations: 0 / 0.6144 GB, free: 12.81 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06346/0.5331, allocations: 23.65 MB / 0.6375 GB, free: 5.281 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.46, allocations: 2.406 kB / 0.6375 GB, free: 5.281 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.118978325044736] Failed to read output from testmodel.py, exit status != 0: ['time'] 12.604311518836766 12.632548239 12.200801777 Calling exit ...