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.001322/0.001322, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001499/0.001499, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.504/1.504, allocations: 230.5 MB / 254 MB, free: 15.17 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.243/0.243, allocations: 46.91 MB / 357 MB, free: 10.2 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.003325/0.003325, allocations: 83.88 kB / 0.491 GB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1525, allocations: 66.05 MB / 0.5555 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.0136/0.1661, allocations: 8.754 MB / 0.564 GB, free: 12.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01832/0.1844, allocations: 14.1 MB / 0.5778 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.965e-05/0.1845, allocations: 0 / 0.5778 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.1847, allocations: 43.73 kB / 0.5778 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007126/0.1918, allocations: 2.443 MB / 0.5802 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001065/0.1919, allocations: 19.97 kB / 0.5802 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.1921, allocations: 135.3 kB / 0.5804 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.1922, allocations: 3.984 kB / 0.5804 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.1923, allocations: 59.72 kB / 0.5804 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.013e-05/0.1924, allocations: 43.83 kB / 0.5805 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1924, allocations: 4 kB / 0.5805 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01318/0.2056, allocations: 7.333 MB / 0.5876 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.487e-05/0.2057, allocations: 11.94 kB / 0.5876 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.2058, allocations: 47.8 kB / 0.5877 GB, free: 4.414 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2635/0.4693, allocations: 6.328 MB / 0.5939 GB, free: 10.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4693, allocations: 1.562 kB / 0.5939 GB, free: 10.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4693, allocations: 0 / 0.5939 GB, free: 10.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.4693, allocations: 0 / 0.5939 GB, free: 10.2 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.004679/0.474, allocations: 0.7279 MB / 0.5946 GB, free: 9.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.474, allocations: 9.188 kB / 0.5946 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.474, allocations: 42.3 kB / 0.5946 GB, free: 9.609 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.4743, allocations: 22.84 kB / 0.5947 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.627e-05/0.4743, allocations: 174.4 kB / 0.5948 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.4744, allocations: 10.77 kB / 0.5948 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.4744, allocations: 8.969 kB / 0.5948 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.4747, allocations: 127.2 kB / 0.595 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4747, allocations: 2.734 kB / 0.595 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.4748, allocations: 7.5 kB / 0.595 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.4748, allocations: 2.422 kB / 0.595 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.4751, allocations: 114 kB / 0.5951 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005524/0.4757, allocations: 0.6049 MB / 0.5957 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.4761, allocations: 135.7 kB / 0.5958 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.4762, allocations: 50.22 kB / 0.5958 GB, free: 8.781 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002505/0.4787, allocations: 1.978 MB / 0.5978 GB, free: 7.086 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003627/0.4791, allocations: 140.8 kB / 0.5979 GB, free: 7.035 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.805e-06/0.4791, allocations: 1.375 kB / 0.5979 GB, free: 7.035 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008108/0.4799, allocations: 230.5 kB / 0.5981 GB, free: 7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.48, allocations: 54.95 kB / 0.5982 GB, free: 6.938 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.515e-05/0.48, allocations: 107.2 kB / 0.5983 GB, free: 6.836 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.48, allocations: 30 kB / 0.5983 GB, free: 6.805 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.634e-05/0.4801, allocations: 93.08 kB / 0.5984 GB, free: 6.719 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.4801, allocations: 54.48 kB / 0.5985 GB, free: 6.684 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.4801, allocations: 39.06 kB / 0.5985 GB, free: 6.668 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.4802, allocations: 323.1 kB / 0.5988 GB, free: 6.352 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.4804, allocations: 45.31 kB / 0.5988 GB, free: 6.352 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.4805, allocations: 68.09 kB / 0.5989 GB, free: 6.336 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.4808, allocations: 108.5 kB / 0.599 GB, free: 6.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4808, allocations: 0.7812 kB / 0.599 GB, free: 6.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003933/0.4812, allocations: 153.5 kB / 0.5992 GB, free: 6.285 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4812, allocations: 6.906 kB / 0.5992 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4812, allocations: 0.8125 kB / 0.5992 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4812, allocations: 4.875 kB / 0.5992 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.4813, allocations: 24.45 kB / 0.5992 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4813, allocations: 1.062 kB / 0.5992 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.4815, allocations: 26.86 kB / 0.5992 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.4815, allocations: 5.25 kB / 0.5992 GB, free: 6.277 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_check.phase,p,$PRE.p,state.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 7.49e-05/0.4816, allocations: 125.3 kB / 0.5993 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.4816, allocations: 7.312 kB / 0.5994 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000582/0.4822, allocations: 354.2 kB / 0.5997 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003929/0.4826, allocations: 291.6 kB / 0.6 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4826, allocations: 3.938 kB / 0.6 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.4826, allocations: 4.141 kB / 0.6 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.4836, allocations: 0.7027 MB / 0.6007 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.4836, allocations: 1.25 kB / 0.6007 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.4838, allocations: 30.45 kB / 0.6007 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4838, allocations: 2.922 kB / 0.6007 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.4838, allocations: 4.266 kB / 0.6007 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4838, allocations: 1.938 kB / 0.6007 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4838, allocations: 0 / 0.6007 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007221/0.4845, allocations: 457.9 kB / 0.6011 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.4845, allocations: 94.11 kB / 0.6012 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.4846, allocations: 5.859 kB / 0.6012 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.4848, allocations: 31.56 kB / 0.6013 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.4848, allocations: 18.19 kB / 0.6013 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.4848, allocations: 11.31 kB / 0.6013 GB, free: 5.484 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.526e-05/0.4849, allocations: 84.47 kB / 0.6014 GB, free: 5.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4849, allocations: 0 / 0.6014 GB, free: 5.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003705/0.4886, allocations: 461.8 kB / 0.6018 GB, free: 5.328 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,p,state_check.phase,dT) * 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.0201/0.5087, allocations: 5.77 MB / 0.6074 GB, free: 2.359 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005862/0.5093, allocations: 194.2 kB / 0.6076 GB, free: 2.324 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.5093, allocations: 3.391 kB / 0.6076 GB, free: 2.324 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.5095, allocations: 101.8 kB / 0.6077 GB, free: 2.324 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005845/0.5101, allocations: 75.84 kB / 0.6078 GB, free: 2.316 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/0.5154, allocations: 1.977 MB / 0.6097 GB, free: 1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.5157, allocations: 0.719 MB / 0.6104 GB, free: 16.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000158/0.5159, allocations: 50.72 kB / 0.6105 GB, free: 16.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.47e-05/0.516, allocations: 47.38 kB / 0.6105 GB, free: 16.29 MB / 462.1 MB Notification: Performance of SimCode: time 6.12e-07/0.516, allocations: 0 / 0.6105 GB, free: 16.29 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05839/0.5744, allocations: 23.29 MB / 0.6333 GB, free: 8.164 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.493/10.07, allocations: 0.6562 kB / 0.6333 GB, free: 8.164 MB / 462.1 MB " [Timeout remaining time 650] (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: 13.721097131958231] Failed to read output from testmodel.py, exit status != 0: ['time'] 10.169871930964291 10.194298407 9.720049257 Calling exit ...