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.00176/0.00176, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002155/0.002155, allocations: 201.2 kB / 24.52 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.2302/0.2302, allocations: 46.94 MB / 361.7 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="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.001989/0.001989, allocations: 59.91 kB / 0.4969 GB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3588, allocations: 66.03 MB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01299/0.3718, allocations: 8.795 MB / 0.57 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01715/0.3889, allocations: 14.16 MB / 0.5838 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.727e-05/0.389, allocations: 3.938 kB / 0.5838 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.3893, allocations: 47.78 kB / 0.5839 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007524/0.3968, allocations: 2.454 MB / 0.5863 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.3969, allocations: 23.84 kB / 0.5863 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.3971, allocations: 127.3 kB / 0.5864 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.3972, allocations: 4 kB / 0.5864 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.3974, allocations: 67.77 kB / 0.5865 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.3975, allocations: 39.84 kB / 0.5865 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.3975, allocations: 0 / 0.5865 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01303/0.4105, allocations: 7.368 MB / 0.5937 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.4106, allocations: 15.88 kB / 0.5937 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.4107, allocations: 39.84 kB / 0.5938 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01619/0.4269, allocations: 6.352 MB / 0.6 GB, free: 12.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4269, allocations: 0 / 0.6 GB, free: 12.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4269, allocations: 4 kB / 0.6 GB, free: 12.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.4269, allocations: 0 / 0.6 GB, free: 12.87 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.005045/0.4319, allocations: 0.6637 MB / 0.6006 GB, free: 12.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.432, allocations: 12.03 kB / 0.6006 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.572e-05/0.432, allocations: 0 / 0.6006 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.489e-05/0.4321, allocations: 42.55 kB / 0.6007 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.4323, allocations: 23.94 kB / 0.6007 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.4324, allocations: 117.1 kB / 0.6008 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.4324, allocations: 4 kB / 0.6008 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.4324, allocations: 8 kB / 0.6008 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.4328, allocations: 137.5 kB / 0.601 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4329, allocations: 0 / 0.601 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.4329, allocations: 4 kB / 0.601 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.4329, allocations: 0 / 0.601 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.4332, allocations: 123.8 kB / 0.6011 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009018/0.4341, allocations: 0.5654 MB / 0.6016 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/0.4347, allocations: 150.5 kB / 0.6018 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.4348, allocations: 44.83 kB / 0.6018 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002233/0.437, allocations: 0.6438 MB / 0.6025 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003651/0.4374, allocations: 139.3 kB / 0.6026 GB, free: 10 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.495e-06/0.4374, allocations: 0 / 0.6026 GB, free: 10 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008035/0.4382, allocations: 236.4 kB / 0.6028 GB, free: 9.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.4382, allocations: 51.41 kB / 0.6029 GB, free: 9.707 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/0.4383, allocations: 105.8 kB / 0.603 GB, free: 9.594 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.4384, allocations: 29.7 kB / 0.603 GB, free: 9.559 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.4384, allocations: 103.8 kB / 0.6031 GB, free: 9.453 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/0.4385, allocations: 43.64 kB / 0.6031 GB, free: 9.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.4385, allocations: 41.7 kB / 0.6032 GB, free: 9.363 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4387, allocations: 314.8 kB / 0.6035 GB, free: 9.047 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.4388, allocations: 47.97 kB / 0.6035 GB, free: 9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.439, allocations: 61.62 kB / 0.6036 GB, free: 8.934 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.4392, allocations: 113.6 kB / 0.6037 GB, free: 8.816 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4392, allocations: 0 / 0.6037 GB, free: 8.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000391/0.4396, allocations: 156.2 kB / 0.6038 GB, free: 8.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.658e-05/0.4397, allocations: 11.98 kB / 0.6038 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.4397, allocations: 0 / 0.6038 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.4397, allocations: 4 kB / 0.6038 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.4398, allocations: 23.92 kB / 0.6039 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.4398, allocations: 7.938 kB / 0.6039 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.44, allocations: 23.88 kB / 0.6039 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.44, allocations: 4 kB / 0.6039 GB, free: 8.586 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.0001334/0.4402, allocations: 117.8 kB / 0.604 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.4403, allocations: 11.94 kB / 0.604 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000648/0.4409, allocations: 361.3 kB / 0.6044 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000464/0.4414, allocations: 301.6 kB / 0.6047 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4414, allocations: 0 / 0.6047 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4414, allocations: 0 / 0.6047 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.4431, allocations: 0.6884 MB / 0.6053 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.4431, allocations: 4 kB / 0.6053 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.4433, allocations: 31.91 kB / 0.6054 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.4433, allocations: 4 kB / 0.6054 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.4433, allocations: 11.94 kB / 0.6054 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.4433, allocations: 0 / 0.6054 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4433, allocations: 3.938 kB / 0.6054 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.4445, allocations: 447.2 kB / 0.6058 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.4445, allocations: 23.75 kB / 0.6058 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.4445, allocations: 12.31 kB / 0.6058 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.4449, allocations: 27.97 kB / 0.6059 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.4449, allocations: 19.95 kB / 0.6059 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/0.445, allocations: 12 kB / 0.6059 GB, free: 6.449 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.446e-05/0.445, allocations: 79.28 kB / 0.606 GB, free: 6.371 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.445, allocations: 0 / 0.606 GB, free: 6.371 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004054/0.4491, allocations: 462.7 kB / 0.6064 GB, free: 5.918 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.01926/0.4684, allocations: 5.768 MB / 0.6121 GB, free: 116 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006462/0.469, allocations: 206.8 kB / 0.6122 GB, free: 15.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.469, allocations: 0 / 0.6122 GB, free: 15.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.4692, allocations: 103.9 kB / 0.6123 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006051/0.4698, allocations: 80.58 kB / 0.6124 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005188/0.475, allocations: 1.969 MB / 0.6143 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.4754, allocations: 0.7212 MB / 0.6151 GB, free: 12.92 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.4756, allocations: 55.12 kB / 0.6151 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.577e-05/0.4757, allocations: 51.41 kB / 0.6152 GB, free: 12.82 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4757, allocations: 4 kB / 0.6152 GB, free: 12.81 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05929/0.535, allocations: 23.65 MB / 0.6383 GB, free: 5.285 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.72, allocations: 8.047 kB / 0.6383 GB, free: 5.277 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: 17.36525942501612] Failed to read output from testmodel.py, exit status != 0: ['time'] 12.906986518995836 12.924010661 12.493512691 Calling exit ...