Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001767/0.001767, allocations: 112 kB / 20.48 MB, free: 1.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002103/0.002103, allocations: 210.3 kB / 23.77 MB, free: 4.441 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.5 MB / 257.4 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2305/0.2305, allocations: 46.95 MB / 360.8 MB, free: 3.902 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 83.81 kB / 0.4962 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3457, allocations: 66.08 MB / 0.5607 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01253/0.3582, allocations: 8.338 MB / 0.5689 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01528/0.3735, allocations: 12.4 MB / 0.581 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.798e-05/0.3736, allocations: 0 / 0.581 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.3738, allocations: 43.73 kB / 0.581 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006469/0.3803, allocations: 2.431 MB / 0.5834 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001028/0.3804, allocations: 23.95 kB / 0.5834 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.3806, allocations: 127.2 kB / 0.5836 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.3806, allocations: 4 kB / 0.5836 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.3808, allocations: 63.77 kB / 0.5836 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.858e-05/0.3809, allocations: 43.83 kB / 0.5837 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.3809, allocations: 0 / 0.5837 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01209/0.393, allocations: 7.126 MB / 0.5906 GB, free: 5.363 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.909e-05/0.393, allocations: 19.86 kB / 0.5906 GB, free: 5.344 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.575e-05/0.3931, allocations: 47.84 kB / 0.5907 GB, free: 5.297 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0172/0.4103, allocations: 6.332 MB / 0.5969 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.4103, allocations: 0 / 0.5969 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4103, allocations: 0 / 0.5969 GB, free: 14.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.4103, allocations: 0 / 0.5969 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.003981/0.4143, allocations: 0.6597 MB / 0.5975 GB, free: 14.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.4144, allocations: 16.02 kB / 0.5975 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.053e-05/0.4144, allocations: 38.56 kB / 0.5976 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/0.4146, allocations: 27.94 kB / 0.5976 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.4147, allocations: 117.1 kB / 0.5977 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.4148, allocations: 4 kB / 0.5977 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.4148, allocations: 12 kB / 0.5977 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.4152, allocations: 206.6 kB / 0.5979 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.4152, allocations: 0 / 0.5979 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.4153, allocations: 4 kB / 0.5979 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.4153, allocations: 0 / 0.5979 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.4156, allocations: 123.8 kB / 0.598 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006349/0.4163, allocations: 347.7 kB / 0.5984 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.4167, allocations: 138.5 kB / 0.5985 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.4168, allocations: 52.83 kB / 0.5986 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002248/0.4191, allocations: 0.6438 MB / 0.5992 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004137/0.4195, allocations: 212.4 kB / 0.5994 GB, free: 12.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.4195, allocations: 0 / 0.5994 GB, free: 12.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008288/0.4203, allocations: 241.5 kB / 0.5996 GB, free: 11.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.4204, allocations: 51.41 kB / 0.5997 GB, free: 11.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.4205, allocations: 109.8 kB / 0.5998 GB, free: 11.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.4205, allocations: 29.7 kB / 0.5998 GB, free: 11.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.4206, allocations: 95.81 kB / 0.5999 GB, free: 11.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/0.4207, allocations: 47.64 kB / 0.5999 GB, free: 11.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/0.4207, allocations: 33.7 kB / 0.6 GB, free: 11.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4209, allocations: 318.8 kB / 0.6003 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.421, allocations: 43.97 kB / 0.6003 GB, free: 11.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.4212, allocations: 72.42 kB / 0.6004 GB, free: 11.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.4214, allocations: 112.5 kB / 0.6005 GB, free: 11.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4214, allocations: 0 / 0.6005 GB, free: 11.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000409/0.4218, allocations: 157.5 kB / 0.6006 GB, free: 10.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4219, allocations: 4 kB / 0.6006 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.4219, allocations: 4.234 kB / 0.6006 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.4219, allocations: 4 kB / 0.6006 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.422, allocations: 31.92 kB / 0.6007 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.422, allocations: 0 / 0.6007 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.4221, allocations: 23.88 kB / 0.6007 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.4221, allocations: 7.984 kB / 0.6007 GB, free: 10.77 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.0001073/0.4222, allocations: 113.8 kB / 0.6008 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.446e-05/0.4223, allocations: 11.95 kB / 0.6008 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000626/0.4229, allocations: 373.2 kB / 0.6012 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004777/0.4234, allocations: 297.6 kB / 0.6015 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4234, allocations: 0 / 0.6015 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4234, allocations: 0 / 0.6015 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.4246, allocations: 0.6879 MB / 0.6021 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.4246, allocations: 3.984 kB / 0.6021 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.4247, allocations: 27.92 kB / 0.6022 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.4247, allocations: 4 kB / 0.6022 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.4247, allocations: 4 kB / 0.6022 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.4247, allocations: 0 / 0.6022 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4247, allocations: 7.938 kB / 0.6022 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007636/0.4255, allocations: 463.2 kB / 0.6026 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.4255, allocations: 23.77 kB / 0.6027 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.4255, allocations: 0 / 0.6027 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.4258, allocations: 27.97 kB / 0.6027 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.4258, allocations: 27.97 kB / 0.6027 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.4258, allocations: 4 kB / 0.6027 GB, free: 8.641 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.392e-05/0.4259, allocations: 87.27 kB / 0.6028 GB, free: 8.555 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4259, allocations: 0 / 0.6028 GB, free: 8.555 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003083/0.429, 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.01904/0.448, allocations: 5.784 MB / 0.6089 GB, free: 2.289 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007058/0.4487, allocations: 193.8 kB / 0.6091 GB, free: 2.094 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.4487, allocations: 0 / 0.6091 GB, free: 2.094 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.449, allocations: 107.8 kB / 0.6092 GB, free: 1.988 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.4496, allocations: 76.12 kB / 0.6092 GB, free: 1.914 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005425/0.455, allocations: 1.964 MB / 0.6112 GB, free: 15.87 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.4552, allocations: 111.1 kB / 0.6113 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.4554, allocations: 52.8 kB / 0.6113 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.4555, allocations: 51.42 kB / 0.6114 GB, free: 15.63 MB / 462.1 MB Notification: Performance of SimCode: time 1.423e-06/0.4555, allocations: 0 / 0.6114 GB, free: 15.63 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06361/0.5191, allocations: 24.15 MB / 0.6349 GB, free: 7.582 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.5, allocations: 6.719 kB / 0.635 GB, free: 7.578 MB / 478.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.962425383972004] Failed to read output from testmodel.py, exit status != 0: ['time'] 12.6385094569996 12.652857944 12.239363573 Calling exit ...