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_pT.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_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001768/0.001768, 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.002091/0.002091, 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.494/1.494, 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.2232/0.2232, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.002408/0.002409, allocations: 79.92 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1228, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01627/0.1391, allocations: 11.28 MB / 491.5 MB, free: 9.812 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.1529, allocations: 11.77 MB / 0.4915 GB, free: 14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.1532, allocations: 4 kB / 0.4915 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.1536, allocations: 75.48 kB / 0.4915 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.1637, allocations: 3.128 MB / 0.4946 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.1642, allocations: 146.8 kB / 0.4947 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005815/0.17, allocations: 3.897 MB / 0.4985 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.204e-05/0.1701, allocations: 20.41 kB / 0.4986 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.1703, allocations: 143.5 kB / 0.4987 GB, free: 6.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2372/0.4075, allocations: 7.12 MB / 0.5057 GB, free: 23.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.902e-05/0.4076, allocations: 8.812 kB / 0.5057 GB, free: 23.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005413/0.4131, allocations: 2.351 MB / 0.508 GB, free: 23.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.574e-05/0.4132, allocations: 43.25 kB / 0.508 GB, free: 23.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.4134, allocations: 125.2 kB / 0.5081 GB, free: 23.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004005/0.4174, allocations: 1.713 MB / 0.5098 GB, free: 22.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4174, allocations: 1.5 kB / 0.5098 GB, free: 22.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4174, allocations: 0 / 0.5098 GB, free: 22.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.862e-06/0.4174, allocations: 3.188 kB / 0.5098 GB, free: 22.95 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.002343/0.4198, allocations: 0.9699 MB / 0.5107 GB, free: 22.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.4198, allocations: 9.891 kB / 0.5108 GB, free: 22.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.46e-05/0.4199, allocations: 64.84 kB / 0.5108 GB, free: 22.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005899/0.4205, allocations: 82.33 kB / 0.5109 GB, free: 22.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.4207, allocations: 246.1 kB / 0.5111 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.4208, allocations: 22.78 kB / 0.5112 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.4208, allocations: 24.91 kB / 0.5112 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009178/0.4217, allocations: 483.7 kB / 0.5116 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.4218, allocations: 3 kB / 0.5116 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.4218, allocations: 18.42 kB / 0.5117 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.4218, allocations: 7.25 kB / 0.5117 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.4229, allocations: 0.6762 MB / 0.5123 GB, free: 21.99 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.006374/0.4293, allocations: 3.137 MB / 0.5154 GB, free: 20.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.43, allocations: 211.8 kB / 0.5156 GB, free: 20.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.4301, allocations: 76.42 kB / 0.5157 GB, free: 20.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07623/0.5064, allocations: 33.63 MB / 0.5485 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008513/0.5073, allocations: 354.8 kB / 0.5488 GB, free: 12.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.895e-06/0.5073, allocations: 4 kB / 0.5488 GB, free: 12.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002867/0.5102, allocations: 0.8649 MB / 0.5497 GB, free: 11.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002957/0.5105, allocations: 480.9 kB / 0.5501 GB, free: 10.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.5107, allocations: 150.4 kB / 0.5503 GB, free: 10.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.5107, allocations: 34.05 kB / 0.5503 GB, free: 10.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.5108, allocations: 163.9 kB / 0.5505 GB, free: 10.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.5109, allocations: 121.8 kB / 0.5506 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.5111, allocations: 104.4 kB / 0.5507 GB, free: 10.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5112, allocations: 326.8 kB / 0.551 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.5114, allocations: 65.08 kB / 0.5511 GB, free: 10.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.5117, allocations: 316.2 kB / 0.5514 GB, free: 9.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005486/0.5123, allocations: 430.8 kB / 0.5518 GB, free: 9.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.5123, allocations: 4 kB / 0.5518 GB, free: 9.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007097/0.513, allocations: 404.4 kB / 0.5522 GB, free: 8.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.513, allocations: 8 kB / 0.5522 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.5131, allocations: 12.09 kB / 0.5522 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.5131, allocations: 12 kB / 0.5522 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/0.5151, allocations: 343.2 kB / 0.5525 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008119/0.5159, allocations: 1.186 MB / 0.5537 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.5162, allocations: 24.05 kB / 0.5537 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/0.5163, allocations: 39.98 kB / 0.5537 GB, free: 7.09 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 (55): * Single equations (assignments): 53 * 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 {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002166/0.5165, allocations: 152 kB / 0.5539 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.94e-05/0.5166, allocations: 31.72 kB / 0.5539 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.518, allocations: 0.9541 MB / 0.5549 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.518, allocations: 11.98 kB / 0.5549 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.518, allocations: 0 / 0.5549 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.5181, allocations: 4 kB / 0.5549 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.5197, allocations: 1.42 MB / 0.5563 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.5197, allocations: 8.188 kB / 0.5563 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.5207, allocations: 143.5 kB / 0.5564 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.5208, allocations: 4 kB / 0.5564 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.5208, allocations: 11.98 kB / 0.5564 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003526/0.5211, allocations: 0.5932 MB / 0.557 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5211, allocations: 0 / 0.557 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007075/0.5219, allocations: 0.5186 MB / 0.5575 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/0.522, allocations: 116.4 kB / 0.5576 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.858e-05/0.5221, allocations: 47.41 kB / 0.5577 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.5223, allocations: 15.98 kB / 0.5577 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.5224, allocations: 11.98 kB / 0.5577 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.5224, allocations: 19.98 kB / 0.5577 GB, free: 2.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003148/0.5227, allocations: 275.1 kB / 0.558 GB, free: 2.562 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.5227, allocations: 0 / 0.558 GB, free: 2.562 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001823/0.5245, allocations: 461.6 kB / 0.5584 GB, free: 2.113 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002986/0.5275, allocations: 1.647 MB / 0.56 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.5292, allocations: 406.4 kB / 0.5604 GB, free: 136 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.5292, allocations: 8.125 kB / 0.5604 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008159/0.53, allocations: 225.2 kB / 0.5606 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008826/0.5309, allocations: 120 kB / 0.5607 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.322/1.853, allocations: 0.54 GB / 1.101 GB, free: 195.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/1.853, allocations: 0.8338 MB / 1.102 GB, free: 194.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004845/1.854, allocations: 164.5 kB / 1.102 GB, free: 194.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/1.854, allocations: 160.9 kB / 1.102 GB, free: 194.8 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/1.854, allocations: 0 / 1.102 GB, free: 194.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05161/1.906, allocations: 20.11 MB / 1.122 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/14.28, allocations: 8.234 kB / 1.122 GB, free: 184.6 MB / 0.5294 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_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_pT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1)