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.001694/0.001695, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001884/0.001884, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247 MB, free: 10.44 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.2323/0.2323, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002277/0.002277, allocations: 79.88 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3588, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01448/0.3733, allocations: 11.28 MB / 0.5417 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01491/0.3883, allocations: 11.78 MB / 0.5532 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.3885, allocations: 4 kB / 0.5532 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.3889, allocations: 71.53 kB / 0.5532 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.3995, allocations: 3.12 MB / 0.5563 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.4, allocations: 150 kB / 0.5564 GB, free: 7.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005812/0.4058, allocations: 3.893 MB / 0.5602 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.955e-05/0.4059, allocations: 24.34 kB / 0.5603 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.4061, allocations: 139.5 kB / 0.5604 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01004/0.4161, allocations: 7.126 MB / 0.5673 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.369e-05/0.4163, allocations: 8 kB / 0.5674 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006351/0.4226, allocations: 2.107 MB / 0.5694 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.4228, allocations: 51.7 kB / 0.5695 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.423, allocations: 123.5 kB / 0.5696 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00624/0.4293, allocations: 1.543 MB / 0.5711 GB, free: 8.219 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4293, allocations: 0 / 0.5711 GB, free: 8.219 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4293, allocations: 7.938 kB / 0.5711 GB, free: 8.211 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.4293, allocations: 0 / 0.5711 GB, free: 8.211 MB / 430.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.00255/0.4319, allocations: 0.9413 MB / 0.572 GB, free: 7.219 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.432, allocations: 12.03 kB / 0.572 GB, free: 7.207 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.101e-05/0.432, allocations: 66.72 kB / 0.5721 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005933/0.4326, allocations: 76.73 kB / 0.5722 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.4331, allocations: 248 kB / 0.5724 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.4331, allocations: 16.94 kB / 0.5724 GB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.454e-05/0.4332, allocations: 32.31 kB / 0.5724 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.4343, allocations: 489.4 kB / 0.5729 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.4343, allocations: 0 / 0.5729 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.4343, allocations: 12 kB / 0.5729 GB, free: 6.207 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.4343, allocations: 8 kB / 0.5729 GB, free: 6.199 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.4355, allocations: 0.6812 MB / 0.5736 GB, free: 5.516 MB / 430.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.006838/0.4424, allocations: 3.103 MB / 0.5766 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/0.4431, allocations: 212.2 kB / 0.5768 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.4432, allocations: 77.38 kB / 0.5769 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08217/0.5254, allocations: 30.78 MB / 0.607 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008243/0.5263, allocations: 354.4 kB / 0.6073 GB, free: 360 kB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.946e-06/0.5263, allocations: 0 / 0.6073 GB, free: 360 kB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.00327/0.5296, allocations: 1.002 MB / 0.6083 GB, free: 15.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000264/0.5299, allocations: 483 kB / 0.6087 GB, free: 14.76 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.5301, allocations: 157.3 kB / 0.6089 GB, free: 14.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.5301, allocations: 37.7 kB / 0.6089 GB, free: 14.55 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.5302, allocations: 164.4 kB / 0.6091 GB, free: 14.39 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.5304, allocations: 138.8 kB / 0.6092 GB, free: 14.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.5305, allocations: 94.19 kB / 0.6093 GB, free: 14.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.5307, allocations: 326.8 kB / 0.6096 GB, free: 13.83 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.5308, allocations: 73.08 kB / 0.6097 GB, free: 13.76 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.5312, allocations: 326.1 kB / 0.61 GB, free: 13.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006311/0.5318, allocations: 456 kB / 0.6104 GB, free: 12.76 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.5319, allocations: 4 kB / 0.6104 GB, free: 12.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008605/0.5327, allocations: 439.2 kB / 0.6109 GB, free: 12.31 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.5328, allocations: 8 kB / 0.6109 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.5328, allocations: 8 kB / 0.6109 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002088/0.5349, allocations: 317.7 kB / 0.6112 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.5352, allocations: 115.7 kB / 0.6113 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009091/0.5362, allocations: 1.215 MB / 0.6125 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.5364, allocations: 19.95 kB / 0.6125 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.5365, allocations: 39.92 kB / 0.6125 GB, free: 10.55 MB / 478.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.0001904/0.5367, allocations: 165.5 kB / 0.6127 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.522e-05/0.5368, allocations: 23.89 kB / 0.6127 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.5383, allocations: 1.05 MB / 0.6137 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.5383, allocations: 15.92 kB / 0.6137 GB, free: 9.242 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5383, allocations: 0 / 0.6137 GB, free: 9.242 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.5383, allocations: 4 kB / 0.6137 GB, free: 9.238 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.5401, allocations: 1.56 MB / 0.6153 GB, free: 7.531 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.5402, allocations: 4 kB / 0.6153 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.5403, allocations: 35.92 kB / 0.6153 GB, free: 7.492 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/0.5416, allocations: 249.5 kB / 0.6155 GB, free: 7.242 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.5417, allocations: 8 kB / 0.6156 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008383/0.5425, allocations: 1.266 MB / 0.6168 GB, free: 5.922 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.5425, allocations: 4.031 kB / 0.6168 GB, free: 5.918 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000838/0.5434, allocations: 0.6028 MB / 0.6174 GB, free: 5.266 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.5435, allocations: 104.8 kB / 0.6175 GB, free: 5.145 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-05/0.5436, allocations: 55.58 kB / 0.6175 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.5438, allocations: 12.08 kB / 0.6175 GB, free: 5.078 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.5439, allocations: 31.84 kB / 0.6176 GB, free: 5.047 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.5439, allocations: 12 kB / 0.6176 GB, free: 5.035 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003311/0.5443, allocations: 275.1 kB / 0.6179 GB, free: 4.766 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5443, allocations: 0 / 0.6179 GB, free: 4.766 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001487/0.5458, allocations: 442.6 kB / 0.6183 GB, free: 4.332 MB / 478.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.00285/0.5486, allocations: 1.716 MB / 0.62 GB, free: 2.547 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007989/0.5495, allocations: 372.2 kB / 0.6203 GB, free: 2.18 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5495, allocations: 0 / 0.6203 GB, free: 2.18 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.5498, allocations: 229.5 kB / 0.6205 GB, free: 1.949 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008623/0.5507, allocations: 133.4 kB / 0.6207 GB, free: 1.816 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.159/1.71, allocations: 0.495 GB / 1.116 GB, free: 63.02 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/1.71, allocations: 0.8234 MB / 1.116 GB, free: 62.17 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003457/1.711, allocations: 170.4 kB / 1.117 GB, free: 62.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/1.711, allocations: 163.4 kB / 1.117 GB, free: 61.86 MB / 0.6075 GB Notification: Performance of SimCode: time 1.182e-06/1.711, allocations: 0 / 1.117 GB, free: 61.86 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0428/1.754, allocations: 20.05 MB / 1.136 GB, free: 42.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/14.42, allocations: 8.375 kB / 1.136 GB, free: 42.07 MB / 0.6075 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)