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.001319/0.001319, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001464/0.001464, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.428/1.428, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2256/0.2256, allocations: 46.95 MB / 360.9 MB, free: 4.02 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.001965/0.001965, allocations: 75.83 kB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3424, allocations: 66.04 MB / 0.5606 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01226/0.3547, allocations: 8.331 MB / 0.5687 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0159/0.3706, allocations: 12.39 MB / 0.5808 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.54e-05/0.3706, allocations: 0 / 0.5808 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.3709, allocations: 39.75 kB / 0.5809 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007476/0.3783, allocations: 2.431 MB / 0.5832 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001032/0.3784, allocations: 19.97 kB / 0.5833 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.3787, allocations: 131.2 kB / 0.5834 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.434e-05/0.3787, allocations: 7.984 kB / 0.5834 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.3789, allocations: 63.77 kB / 0.5835 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.379, allocations: 39.84 kB / 0.5835 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.379, allocations: 4 kB / 0.5835 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01268/0.3917, allocations: 7.275 MB / 0.5906 GB, free: 5.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.156e-05/0.3917, allocations: 15.92 kB / 0.5906 GB, free: 5.344 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.3919, allocations: 39.86 kB / 0.5907 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01527/0.4071, allocations: 6.332 MB / 0.5968 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.4072, allocations: 0 / 0.5968 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4072, allocations: 3.938 kB / 0.5968 GB, free: 14.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.4072, allocations: 0 / 0.5968 GB, free: 14.96 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.004104/0.4113, allocations: 0.6675 MB / 0.5975 GB, free: 14.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.4113, allocations: 8.031 kB / 0.5975 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.4114, allocations: 46.55 kB / 0.5975 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.4116, allocations: 23.94 kB / 0.5976 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.4117, allocations: 109.2 kB / 0.5977 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.4117, allocations: 8 kB / 0.5977 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.4117, allocations: 4 kB / 0.5977 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.4122, allocations: 214.6 kB / 0.5979 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.4122, allocations: 4 kB / 0.5979 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.4122, allocations: 0 / 0.5979 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4122, allocations: 0 / 0.5979 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.4126, allocations: 123.9 kB / 0.598 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006503/0.4132, allocations: 355.6 kB / 0.5984 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.4137, allocations: 130.5 kB / 0.5985 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.4138, allocations: 56.83 kB / 0.5985 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002256/0.4161, allocations: 0.636 MB / 0.5992 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004244/0.4165, allocations: 223 kB / 0.5994 GB, free: 12.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.4165, allocations: 3.938 kB / 0.5994 GB, free: 12.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008232/0.4173, allocations: 233.5 kB / 0.5996 GB, free: 11.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.4174, allocations: 55.41 kB / 0.5996 GB, free: 11.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.4175, allocations: 105.8 kB / 0.5997 GB, free: 11.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.4175, allocations: 29.7 kB / 0.5998 GB, free: 11.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.4176, allocations: 95.81 kB / 0.5999 GB, free: 11.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.4176, allocations: 47.64 kB / 0.5999 GB, free: 11.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.4177, allocations: 33.7 kB / 0.5999 GB, free: 11.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.4178, allocations: 322.8 kB / 0.6002 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.418, allocations: 43.97 kB / 0.6003 GB, free: 11.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.4181, allocations: 72.38 kB / 0.6004 GB, free: 11.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.4184, allocations: 108.6 kB / 0.6005 GB, free: 11.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4184, allocations: 0 / 0.6005 GB, free: 11.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004032/0.4188, allocations: 161.5 kB / 0.6006 GB, free: 10.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4188, allocations: 4 kB / 0.6006 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4188, allocations: 4.25 kB / 0.6006 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4189, allocations: 4 kB / 0.6006 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.419, allocations: 23.98 kB / 0.6007 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.419, allocations: 0 / 0.6007 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.4191, allocations: 19.88 kB / 0.6007 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.4191, allocations: 8 kB / 0.6007 GB, free: 10.79 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.0001163/0.4192, allocations: 125.8 kB / 0.6008 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/0.4193, allocations: 7.953 kB / 0.6008 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006579/0.42, allocations: 369.2 kB / 0.6012 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000483/0.4204, allocations: 301.5 kB / 0.6014 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.4205, allocations: 4 kB / 0.6015 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4205, allocations: 0 / 0.6015 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.4216, allocations: 0.6806 MB / 0.6021 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4216, allocations: 0 / 0.6021 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.4218, allocations: 31.97 kB / 0.6021 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4218, allocations: 0 / 0.6021 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.4218, allocations: 8 kB / 0.6022 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.4218, allocations: 7.938 kB / 0.6022 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4218, allocations: 0 / 0.6022 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000748/0.4225, allocations: 459.2 kB / 0.6026 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.4226, allocations: 23.8 kB / 0.6026 GB, free: 8.707 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.4226, allocations: 7.984 kB / 0.6026 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.4228, allocations: 28.05 kB / 0.6027 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.4229, allocations: 23.95 kB / 0.6027 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.4229, allocations: 4 kB / 0.6027 GB, free: 8.645 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.888e-05/0.4229, allocations: 87.27 kB / 0.6028 GB, free: 8.559 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4229, allocations: 4 kB / 0.6028 GB, free: 8.555 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003279/0.4262, allocations: 454.7 kB / 0.6032 GB, free: 8.109 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.01927/0.4455, allocations: 5.784 MB / 0.6089 GB, free: 2.289 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005627/0.4461, allocations: 192.1 kB / 0.609 GB, free: 2.098 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.4461, allocations: 0 / 0.609 GB, free: 2.098 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.4463, allocations: 103.8 kB / 0.6091 GB, free: 1.996 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.4468, allocations: 78.72 kB / 0.6092 GB, free: 1.922 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/0.4511, allocations: 1.977 MB / 0.6111 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.4512, allocations: 103.1 kB / 0.6112 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000141/0.4513, allocations: 52.81 kB / 0.6113 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.798e-05/0.4514, allocations: 51.41 kB / 0.6113 GB, free: 15.63 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4514, allocations: 0 / 0.6113 GB, free: 15.63 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0601/0.5115, allocations: 24.26 MB / 0.635 GB, free: 7.508 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.28, allocations: 11.94 kB / 0.635 GB, free: 7.496 MB / 478.1 MB " [Timeout remaining time 648] (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: 15.884891752997646] Failed to read output from testmodel.py, exit status != 0: ['time'] 12.410394884005655 12.426090261 12.015525063 Calling exit ...