Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001752/0.001752, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00217/0.00217, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2293/0.2293, allocations: 46.11 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003093/0.003093, allocations: 78.09 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1279, allocations: 62.45 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01352/0.1415, allocations: 11.28 MB / 491.5 MB, free: 9.816 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.1554, allocations: 11.77 MB / 0.4915 GB, free: 14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.1556, allocations: 0 / 0.4915 GB, free: 14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.156, allocations: 79.44 kB / 0.4916 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00917/0.1651, allocations: 3.121 MB / 0.4946 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.1656, allocations: 158.1 kB / 0.4948 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00619/0.1718, allocations: 3.897 MB / 0.4986 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.626e-05/0.1719, allocations: 16.41 kB / 0.4986 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.1722, allocations: 135.5 kB / 0.4987 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2271/0.3993, allocations: 7.129 MB / 0.5057 GB, free: 23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.13e-05/0.3994, allocations: 8.5 kB / 0.5057 GB, free: 23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005894/0.4053, allocations: 2.073 MB / 0.5077 GB, free: 23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.4055, allocations: 46.59 kB / 0.5077 GB, free: 23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.4057, allocations: 122.7 kB / 0.5079 GB, free: 23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005114/0.4108, allocations: 1.537 MB / 0.5094 GB, free: 22.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4108, allocations: 0 / 0.5094 GB, free: 22.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4108, allocations: 1.25 kB / 0.5094 GB, free: 22.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.4109, allocations: 4 kB / 0.5094 GB, free: 22.94 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002875/0.4137, allocations: 0.9252 MB / 0.5103 GB, free: 22.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4138, allocations: 9.938 kB / 0.5103 GB, free: 22.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.034e-05/0.4138, allocations: 65.12 kB / 0.5103 GB, free: 22.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005766/0.4144, allocations: 81.77 kB / 0.5104 GB, free: 22.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.4147, allocations: 243.5 kB / 0.5106 GB, free: 22.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.4147, allocations: 18.81 kB / 0.5107 GB, free: 22.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.4148, allocations: 26.31 kB / 0.5107 GB, free: 22.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009348/0.4157, allocations: 484.8 kB / 0.5112 GB, free: 22.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.4157, allocations: 4.25 kB / 0.5112 GB, free: 22.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.281e-05/0.4158, allocations: 16 kB / 0.5112 GB, free: 22.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.4158, allocations: 7.281 kB / 0.5112 GB, free: 22.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.4171, allocations: 0.6771 MB / 0.5118 GB, free: 22.01 MB / 382.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.006577/0.4237, allocations: 3.103 MB / 0.5149 GB, free: 20.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007138/0.4244, allocations: 221.8 kB / 0.5151 GB, free: 20.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.4245, allocations: 74.09 kB / 0.5152 GB, free: 20.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07328/0.4978, allocations: 30.77 MB / 0.5452 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007746/0.4986, allocations: 341.6 kB / 0.5455 GB, free: 15.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.725e-06/0.4986, allocations: 0 / 0.5455 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.003265/0.5019, allocations: 0.9747 MB / 0.5465 GB, free: 15.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000298/0.5022, allocations: 485.3 kB / 0.5469 GB, free: 14.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.5024, allocations: 150.3 kB / 0.5471 GB, free: 14.33 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.5025, allocations: 33.58 kB / 0.5471 GB, free: 14.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.5026, allocations: 163.7 kB / 0.5473 GB, free: 14.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.5027, allocations: 132.5 kB / 0.5474 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.5028, allocations: 91.8 kB / 0.5475 GB, free: 13.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.503, allocations: 332.3 kB / 0.5478 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.5032, allocations: 76.61 kB / 0.5479 GB, free: 13.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/0.5036, allocations: 320.1 kB / 0.5482 GB, free: 13.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005998/0.5042, allocations: 448.8 kB / 0.5486 GB, free: 12.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.5042, allocations: 4 kB / 0.5486 GB, free: 12.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008413/0.505, allocations: 448.1 kB / 0.549 GB, free: 12.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.5051, allocations: 10.5 kB / 0.549 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.5051, allocations: 8 kB / 0.5491 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002077/0.5072, allocations: 324.9 kB / 0.5494 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.5075, allocations: 106.8 kB / 0.5495 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008395/0.5083, allocations: 1.213 MB / 0.5507 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.5086, allocations: 31.83 kB / 0.5507 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/0.5086, allocations: 28 kB / 0.5507 GB, free: 10.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.5089, allocations: 164.1 kB / 0.5509 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.575e-05/0.509, allocations: 31.72 kB / 0.5509 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.5105, allocations: 1.052 MB / 0.5519 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.5105, allocations: 8 kB / 0.5519 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.5106, allocations: 11.92 kB / 0.5519 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5106, allocations: 0 / 0.5519 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.5124, allocations: 1.543 MB / 0.5535 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.5124, allocations: 3.938 kB / 0.5535 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.5126, allocations: 47.16 kB / 0.5535 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001277/0.5138, allocations: 234.7 kB / 0.5537 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.5139, allocations: 11.98 kB / 0.5537 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008224/0.5147, allocations: 1.269 MB / 0.555 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.5147, allocations: 4 kB / 0.555 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008233/0.5155, allocations: 0.6061 MB / 0.5556 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.5157, allocations: 100.8 kB / 0.5557 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.5158, allocations: 55.97 kB / 0.5557 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.516, allocations: 15.97 kB / 0.5557 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.5161, allocations: 27.55 kB / 0.5558 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.5161, allocations: 11.98 kB / 0.5558 GB, free: 5.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003486/0.5165, allocations: 279.1 kB / 0.556 GB, free: 4.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5165, allocations: 0 / 0.556 GB, free: 4.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002376/0.5189, allocations: 442.7 kB / 0.5565 GB, free: 4.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00316/0.522, allocations: 1.695 MB / 0.5581 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007235/0.5228, allocations: 383.6 kB / 0.5585 GB, free: 2.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5228, allocations: 0 / 0.5585 GB, free: 2.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.5231, allocations: 235.4 kB / 0.5587 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008585/0.524, allocations: 130.4 kB / 0.5588 GB, free: 2.125 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.037/1.561, allocations: 0.4949 GB / 1.054 GB, free: 60.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/1.561, allocations: 0.8235 MB / 1.055 GB, free: 59.46 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004439/1.561, allocations: 173.8 kB / 1.055 GB, free: 59.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/1.561, allocations: 163.4 kB / 1.055 GB, free: 59.17 MB / 0.5294 GB Notification: Performance of SimCode: time 6.72e-07/1.561, allocations: 0 / 1.055 GB, free: 59.17 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04735/1.609, allocations: 19.91 MB / 1.074 GB, free: 39.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/14.15, allocations: 14.09 kB / 1.074 GB, free: 39.49 MB / 0.5294 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1)