Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.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.001565/0.001565, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001982/0.001982, allocations: 215.1 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 207.7 MB / 233.8 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2265/0.2265, allocations: 44.27 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 75.89 kB / 467.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1137, allocations: 61.04 MB / 0.5162 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4095/0.5232, allocations: 130.2 MB / 0.6433 GB, free: 16 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006036/0.5292, allocations: 4.239 MB / 0.6475 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.5294, allocations: 0 / 0.6475 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.5298, allocations: 63.59 kB / 0.6475 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004531/0.5343, allocations: 1.551 MB / 0.649 GB, free: 10.17 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.5347, allocations: 139.8 kB / 0.6492 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006817/0.5354, allocations: 406 kB / 0.6496 GB, free: 9.633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.787e-05/0.5354, allocations: 17.8 kB / 0.6496 GB, free: 9.617 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00031/0.5358, allocations: 171.3 kB / 0.6497 GB, free: 9.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.5361, allocations: 171.4 kB / 0.6499 GB, free: 9.281 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.5361, allocations: 8 kB / 0.6499 GB, free: 9.273 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.5387, allocations: 1.158 MB / 0.651 GB, free: 8.113 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.593e-05/0.5388, allocations: 39.83 kB / 0.6511 GB, free: 8.074 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.5389, allocations: 99.58 kB / 0.6512 GB, free: 7.977 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.5407, allocations: 0.9545 MB / 0.6521 GB, free: 7.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5407, allocations: 0 / 0.6521 GB, free: 7.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5407, allocations: 0 / 0.6521 GB, free: 7.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.5407, allocations: 0 / 0.6521 GB, free: 7.02 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001365/0.542, allocations: 0.6565 MB / 0.6528 GB, free: 6.332 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.5421, allocations: 8.031 kB / 0.6528 GB, free: 6.324 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.014e-05/0.5422, allocations: 62.72 kB / 0.6528 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007485/0.5496, allocations: 0.5942 MB / 0.6534 GB, free: 5.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006316/0.5503, allocations: 202.2 kB / 0.6536 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.5505, allocations: 233.9 kB / 0.6538 GB, free: 5.156 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.962e-05/0.5506, allocations: 28 kB / 0.6538 GB, free: 5.129 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.5519, allocations: 0.7393 MB / 0.6546 GB, free: 4.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.5519, allocations: 0 / 0.6546 GB, free: 4.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.258e-05/0.552, allocations: 12 kB / 0.6546 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.552, allocations: 8 kB / 0.6546 GB, free: 4.301 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.5535, allocations: 0.6182 MB / 0.6552 GB, free: 3.68 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.5557, allocations: 1.454 MB / 0.6566 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.556, allocations: 146.5 kB / 0.6567 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.5562, allocations: 68.88 kB / 0.6568 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/0.5576, allocations: 0.6996 MB / 0.6575 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.5577, allocations: 34.56 kB / 0.6575 GB, free: 1.145 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.804e-06/0.5577, allocations: 0 / 0.6575 GB, free: 1.145 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=20): time 0.0009936/0.5587, allocations: 348.9 kB / 0.6579 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.5587, allocations: 55.34 kB / 0.6579 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.5589, allocations: 194.2 kB / 0.6581 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.5589, allocations: 29.7 kB / 0.6581 GB, free: 0.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.559, allocations: 179.9 kB / 0.6583 GB, free: 328 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/0.5591, allocations: 87.3 kB / 0.6584 GB, free: 240 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.5592, allocations: 82.02 kB / 0.6585 GB, free: 152 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5594, allocations: 334.8 kB / 0.6588 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.5595, allocations: 64.72 kB / 0.6588 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.5599, allocations: 263.8 kB / 0.6591 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.5604, allocations: 374.2 kB / 0.6595 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5604, allocations: 0 / 0.6595 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006376/0.561, allocations: 366.5 kB / 0.6598 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.561, allocations: 8 kB / 0.6598 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.5611, allocations: 8 kB / 0.6598 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.5611, allocations: 16.03 kB / 0.6598 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.5615, allocations: 119.8 kB / 0.6599 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004224/0.5619, allocations: 0.6055 MB / 0.6605 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.5621, allocations: 39.73 kB / 0.6606 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/0.5622, allocations: 42.3 kB / 0.6606 GB, free: 13.72 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001926/0.5624, allocations: 149.6 kB / 0.6608 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.5624, allocations: 19.91 kB / 0.6608 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006884/0.5631, allocations: 340.3 kB / 0.6611 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.5631, allocations: 0 / 0.6611 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.5631, allocations: 0 / 0.6611 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5631, allocations: 4 kB / 0.6611 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007885/0.5639, allocations: 493.7 kB / 0.6616 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.5639, allocations: 4 kB / 0.6616 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.5642, allocations: 59.89 kB / 0.6616 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.5642, allocations: 0 / 0.6616 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.5642, allocations: 12 kB / 0.6616 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004579/0.5646, allocations: 0.5821 MB / 0.6622 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5646, allocations: 11.91 kB / 0.6622 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/0.565, allocations: 275.4 kB / 0.6625 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.5651, allocations: 43.83 kB / 0.6625 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.5652, allocations: 11.06 kB / 0.6625 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.5654, allocations: 12 kB / 0.6626 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.5655, allocations: 19.84 kB / 0.6626 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.5655, allocations: 23.98 kB / 0.6626 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001254/0.5656, allocations: 135 kB / 0.6627 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.5656, allocations: 0 / 0.6627 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000746/0.5664, allocations: 203.5 kB / 0.6629 GB, free: 11.21 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001456/0.5678, allocations: 1.05 MB / 0.6639 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005739/0.5684, allocations: 225.2 kB / 0.6642 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5684, allocations: 0 / 0.6642 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.5686, allocations: 75.89 kB / 0.6642 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/0.5692, allocations: 80.56 kB / 0.6643 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00653/0.5757, allocations: 4.136 MB / 0.6683 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.5759, allocations: 116.5 kB / 0.6685 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005045/0.5764, allocations: 98.16 kB / 0.6686 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.5766, allocations: 63.41 kB / 0.6686 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of SimCode: time 2.915e-06/0.5766, allocations: 0 / 0.6686 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03813/0.6147, allocations: 9.675 MB / 0.6781 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.1, allocations: 8.062 kB / 0.6781 GB, free: 11.36 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.291929340921342] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'ddpT', 'ddTp', 'dddX[1]', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is', 'eps'] 14.254325493238866 14.277446676 13.732620588 Calling exit ...