Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008345/0.008345, allocations: 103.7 kB / 15.74 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 188.9 kB / 16.67 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.1 MB / 222.6 MB, free: 4.359 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3752/0.3752, allocations: 39.94 MB / 309.8 MB, free: 9.602 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 71.91 kB / 435.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3834, allocations: 56.88 MB / 492.7 MB, free: 19.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.204/0.5875, allocations: 151.4 MB / 0.629 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005108/0.5927, allocations: 4.704 MB / 0.6336 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.593, allocations: 4 kB / 0.6336 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.5933, allocations: 59.59 kB / 0.6336 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004527/0.5978, allocations: 1.541 MB / 0.6351 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.5982, allocations: 135.8 kB / 0.6353 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005845/0.5988, allocations: 402.1 kB / 0.6357 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.453e-05/0.5988, allocations: 13.69 kB / 0.6357 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.5991, allocations: 167.3 kB / 0.6358 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.5994, allocations: 171.5 kB / 0.636 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.5994, allocations: 8 kB / 0.636 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4387/1.038, allocations: 1.298 MB / 0.6373 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/1.038, allocations: 46.19 kB / 0.6373 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002836/1.039, allocations: 102.5 kB / 0.6374 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003521/1.042, allocations: 0.9691 MB / 0.6384 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.435e-05/1.042, allocations: 1.281 kB / 0.6384 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.074e-06/1.042, allocations: 4.281 kB / 0.6384 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.212e-05/1.042, allocations: 1.641 kB / 0.6384 GB, free: 3.684 MB / 0.4981 GB 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.002108/1.044, allocations: 0.7216 MB / 0.6391 GB, free: 19.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/1.044, allocations: 13.52 kB / 0.6391 GB, free: 19.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008178/1.053, allocations: 0.591 MB / 0.6397 GB, free: 19.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000978/1.054, allocations: 266.2 kB / 0.6399 GB, free: 19.01 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/1.054, allocations: 126.9 kB / 0.64 GB, free: 18.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/1.054, allocations: 29.5 kB / 0.6401 GB, free: 18.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/1.055, allocations: 0.5628 MB / 0.6406 GB, free: 18.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/1.055, allocations: 5.016 kB / 0.6406 GB, free: 18.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.474e-05/1.056, allocations: 11.81 kB / 0.6406 GB, free: 18.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/1.056, allocations: 7.125 kB / 0.6406 GB, free: 18.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/1.057, allocations: 0.6333 MB / 0.6413 GB, free: 18.77 MB / 0.5137 GB 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.002357/1.06, allocations: 1.636 MB / 0.6429 GB, free: 17.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/1.06, allocations: 162.6 kB / 0.643 GB, free: 17.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/1.06, allocations: 79.33 kB / 0.6431 GB, free: 17.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002398/1.063, allocations: 2.076 MB / 0.6451 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/1.063, allocations: 37.45 kB / 0.6451 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 2.745e-06/1.063, allocations: 0 / 0.6451 GB, free: 15.55 MB / 0.5137 GB 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.001052/1.064, allocations: 342.5 kB / 0.6455 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/1.064, allocations: 56.94 kB / 0.6455 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/1.064, allocations: 177.5 kB / 0.6457 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/1.064, allocations: 31.05 kB / 0.6457 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.725e-05/1.064, allocations: 188 kB / 0.6459 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/1.064, allocations: 66.61 kB / 0.646 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/1.064, allocations: 90.36 kB / 0.6461 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.064, allocations: 330.5 kB / 0.6464 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/1.065, allocations: 65.39 kB / 0.6464 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/1.065, allocations: 263.7 kB / 0.6467 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004606/1.065, allocations: 365.8 kB / 0.647 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.065, allocations: 4.594 kB / 0.647 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006939/1.066, allocations: 370.3 kB / 0.6474 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/1.066, allocations: 9.297 kB / 0.6474 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/1.066, allocations: 6.031 kB / 0.6474 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.908e-05/1.066, allocations: 11 kB / 0.6474 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/1.067, allocations: 125.5 kB / 0.6475 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004116/1.067, allocations: 0.6019 MB / 0.6481 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/1.067, allocations: 48.55 kB / 0.6482 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/1.067, allocations: 40.62 kB / 0.6482 GB, free: 13.63 MB / 0.5137 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.0001657/1.067, allocations: 147.5 kB / 0.6483 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.757e-05/1.068, allocations: 24.69 kB / 0.6484 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007132/1.068, allocations: 328.3 kB / 0.6487 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/1.068, allocations: 3.062 kB / 0.6487 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.068, allocations: 4.734 kB / 0.6487 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/1.068, allocations: 1.922 kB / 0.6487 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007551/1.069, allocations: 0.5252 MB / 0.6492 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.069, allocations: 1.688 kB / 0.6492 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/1.069, allocations: 56.94 kB / 0.6493 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/1.069, allocations: 2.656 kB / 0.6493 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/1.069, allocations: 12.06 kB / 0.6493 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003237/1.07, allocations: 0.5963 MB / 0.6499 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/1.07, allocations: 1.031 kB / 0.6499 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/1.07, allocations: 281.5 kB / 0.6501 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/1.07, allocations: 113.7 kB / 0.6502 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/1.07, allocations: 2.656 kB / 0.6502 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/1.071, allocations: 18.34 kB / 0.6503 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/1.071, allocations: 15.17 kB / 0.6503 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.093e-05/1.071, allocations: 20.3 kB / 0.6503 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001339/1.071, allocations: 137 kB / 0.6504 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/1.071, allocations: 0 / 0.6504 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001314/1.072, allocations: 201.6 kB / 0.6506 GB, free: 12.08 MB / 0.5137 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.001012/1.073, allocations: 364.6 kB / 0.651 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006478/1.074, allocations: 224.6 kB / 0.6512 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.074, allocations: 2.234 kB / 0.6512 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/1.074, allocations: 84.78 kB / 0.6513 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006157/1.075, allocations: 66.22 kB / 0.6513 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/1.078, allocations: 1.964 MB / 0.6532 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/1.078, allocations: 0.7211 MB / 0.6539 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004521/1.079, allocations: 104.5 kB / 0.654 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/1.079, allocations: 41.34 kB / 0.6541 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of SimCode: time 6.51e-07/1.079, allocations: 0 / 0.6541 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.01445/1.093, allocations: 6.595 MB / 0.6605 GB, free: 10.61 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1)