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.001649/0.001649, 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.002028/0.002028, 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.483/1.483, 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.2319/0.2319, 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.00224/0.00224, allocations: 91.53 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1303, allocations: 62.44 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01419/0.1446, allocations: 11.28 MB / 491.5 MB, free: 9.824 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01446/0.1591, allocations: 11.77 MB / 0.4915 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.1594, allocations: 8 kB / 0.4915 GB, free: 14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.1597, allocations: 71.5 kB / 0.4915 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01114/0.1709, allocations: 3.121 MB / 0.4946 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.1713, allocations: 165.8 kB / 0.4948 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006089/0.1774, allocations: 3.893 MB / 0.4986 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.763e-05/0.1775, allocations: 20.41 kB / 0.4986 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.1778, allocations: 135.5 kB / 0.4987 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2507/0.4284, allocations: 7.121 MB / 0.5057 GB, free: 23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.034e-05/0.4286, allocations: 10.75 kB / 0.5057 GB, free: 23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006537/0.4351, allocations: 2.349 MB / 0.508 GB, free: 23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.4352, allocations: 49.67 kB / 0.508 GB, free: 23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.4355, allocations: 125.4 kB / 0.5081 GB, free: 23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004632/0.4401, allocations: 1.712 MB / 0.5098 GB, free: 22.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4401, allocations: 5.344 kB / 0.5098 GB, free: 22.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4401, allocations: 0 / 0.5098 GB, free: 22.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.4402, allocations: 0 / 0.5098 GB, free: 22.93 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.002849/0.443, allocations: 0.9695 MB / 0.5108 GB, free: 22.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.4431, allocations: 9.906 kB / 0.5108 GB, free: 22.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.629e-05/0.4431, allocations: 63.17 kB / 0.5108 GB, free: 22.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005809/0.4437, allocations: 78.14 kB / 0.5109 GB, free: 22.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.444, allocations: 244.7 kB / 0.5111 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.444, allocations: 19.97 kB / 0.5111 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.444, allocations: 25.09 kB / 0.5112 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009036/0.4449, allocations: 486.1 kB / 0.5116 GB, free: 21.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.445, allocations: 3.188 kB / 0.5116 GB, free: 21.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.445, allocations: 14.25 kB / 0.5117 GB, free: 21.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.445, allocations: 10.94 kB / 0.5117 GB, free: 21.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.4461, allocations: 0.6834 MB / 0.5123 GB, free: 21.97 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.006355/0.4524, allocations: 3.128 MB / 0.5154 GB, free: 20.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/0.4531, allocations: 217 kB / 0.5156 GB, free: 20.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.4533, allocations: 75.42 kB / 0.5157 GB, free: 20.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07713/0.5304, allocations: 33.64 MB / 0.5485 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008237/0.5313, allocations: 345.2 kB / 0.5488 GB, free: 12.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.224e-06/0.5313, allocations: 0 / 0.5488 GB, free: 12.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002734/0.534, allocations: 0.8626 MB / 0.5497 GB, free: 11.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003183/0.5344, allocations: 481.1 kB / 0.5501 GB, free: 11.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.5345, allocations: 155.8 kB / 0.5503 GB, free: 10.87 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.5346, allocations: 33.7 kB / 0.5503 GB, free: 10.83 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.5347, allocations: 167.4 kB / 0.5505 GB, free: 10.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.5349, allocations: 121.4 kB / 0.5506 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.535, allocations: 96.98 kB / 0.5507 GB, free: 10.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.5352, allocations: 330.8 kB / 0.551 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.5353, allocations: 69.08 kB / 0.5511 GB, free: 10.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.5357, allocations: 313.4 kB / 0.5514 GB, free: 9.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005587/0.5363, allocations: 425.4 kB / 0.5518 GB, free: 9.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5363, allocations: 0 / 0.5518 GB, free: 9.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007318/0.537, allocations: 413.9 kB / 0.5522 GB, free: 8.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.5371, allocations: 14.66 kB / 0.5522 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.5371, allocations: 8 kB / 0.5522 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.5371, allocations: 12 kB / 0.5522 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/0.5391, allocations: 344.4 kB / 0.5525 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007563/0.5399, allocations: 1.182 MB / 0.5537 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.5401, allocations: 24.81 kB / 0.5537 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.394e-05/0.5402, allocations: 34.98 kB / 0.5537 GB, free: 7.145 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.0002123/0.5404, allocations: 152.5 kB / 0.5539 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.5405, allocations: 27.91 kB / 0.5539 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.542, allocations: 0.9592 MB / 0.5549 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.542, allocations: 11.98 kB / 0.5549 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.542, allocations: 4 kB / 0.5549 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.542, allocations: 0 / 0.5549 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.5437, allocations: 1.424 MB / 0.5563 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/0.5437, allocations: 4.625 kB / 0.5563 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.5447, allocations: 139.7 kB / 0.5564 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/0.5448, allocations: 5.422 kB / 0.5564 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.5448, allocations: 15.98 kB / 0.5564 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004349/0.5452, allocations: 0.586 MB / 0.557 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.5453, allocations: 8.094 kB / 0.557 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007267/0.546, allocations: 0.5215 MB / 0.5575 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.433e-05/0.5461, allocations: 104.8 kB / 0.5576 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-05/0.5462, allocations: 47.41 kB / 0.5577 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.5464, allocations: 15.98 kB / 0.5577 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.5465, allocations: 27.55 kB / 0.5577 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.5465, allocations: 15.98 kB / 0.5577 GB, free: 2.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003147/0.5468, allocations: 279.1 kB / 0.558 GB, free: 2.605 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5468, allocations: 0 / 0.558 GB, free: 2.605 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001891/0.5487, allocations: 453.3 kB / 0.5584 GB, free: 2.164 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.002862/0.5516, allocations: 1.646 MB / 0.56 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.5533, allocations: 415.5 kB / 0.5604 GB, free: 176 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.5533, allocations: 0 / 0.5604 GB, free: 176 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008112/0.5541, allocations: 228.2 kB / 0.5606 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008516/0.555, allocations: 118.2 kB / 0.5607 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.275/1.829, allocations: 0.54 GB / 1.101 GB, free: 195.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/1.83, allocations: 0.8228 MB / 1.102 GB, free: 194.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005207/1.83, allocations: 174.2 kB / 1.102 GB, free: 194.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/1.831, allocations: 158.2 kB / 1.102 GB, free: 194.5 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/1.831, allocations: 0 / 1.102 GB, free: 194.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05413/1.885, allocations: 20.1 MB / 1.121 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/14.29, allocations: 8.75 kB / 1.122 GB, free: 184.8 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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)