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.001271/0.001271, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247 MB, free: 10.46 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.2317/0.2317, allocations: 46.12 MB / 344.4 MB, free: 11.46 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.002228/0.002228, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3743, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01587/0.3902, allocations: 11.29 MB / 0.5417 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01488/0.4051, allocations: 11.78 MB / 0.5532 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002461/0.4055, allocations: 4 kB / 0.5532 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.4058, allocations: 63.56 kB / 0.5532 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01103/0.4169, allocations: 3.124 MB / 0.5563 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.4174, allocations: 146.9 kB / 0.5564 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006235/0.4236, allocations: 3.901 MB / 0.5602 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.777e-05/0.4237, allocations: 28.34 kB / 0.5603 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.4239, allocations: 131.6 kB / 0.5604 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01024/0.4342, allocations: 7.122 MB / 0.5673 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.613e-05/0.4343, allocations: 8 kB / 0.5674 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006824/0.4411, allocations: 2.396 MB / 0.5697 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.4413, allocations: 39.83 kB / 0.5697 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.4415, allocations: 127.4 kB / 0.5699 GB, free: 9.477 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005825/0.4474, allocations: 1.726 MB / 0.5715 GB, free: 7.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4474, allocations: 4 kB / 0.5715 GB, free: 7.742 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.4474, allocations: 0 / 0.5715 GB, free: 7.742 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.4474, allocations: 3.938 kB / 0.5715 GB, free: 7.738 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.002343/0.4498, allocations: 0.9839 MB / 0.5725 GB, free: 6.703 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.4498, allocations: 12.03 kB / 0.5725 GB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.099e-05/0.4499, allocations: 62.72 kB / 0.5726 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005864/0.4505, allocations: 76.73 kB / 0.5727 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.4509, allocations: 248 kB / 0.5729 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.4509, allocations: 20.94 kB / 0.5729 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/0.451, allocations: 28.38 kB / 0.5729 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009726/0.4519, allocations: 489.3 kB / 0.5734 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.452, allocations: 4 kB / 0.5734 GB, free: 5.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.452, allocations: 16 kB / 0.5734 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.452, allocations: 4 kB / 0.5734 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.4533, allocations: 0.6851 MB / 0.5741 GB, free: 4.996 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.006657/0.46, allocations: 3.14 MB / 0.5772 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007354/0.4607, allocations: 208.2 kB / 0.5774 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.4609, allocations: 77.39 kB / 0.5774 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08546/0.5463, allocations: 33.65 MB / 0.6103 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007992/0.5472, allocations: 358.5 kB / 0.6106 GB, free: 12.44 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 1.983e-06/0.5472, allocations: 0 / 0.6106 GB, free: 12.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002616/0.5498, allocations: 0.8771 MB / 0.6115 GB, free: 11.55 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000271/0.5501, allocations: 482.5 kB / 0.612 GB, free: 10.97 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.5502, allocations: 161.4 kB / 0.6121 GB, free: 10.81 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.5503, allocations: 33.7 kB / 0.6121 GB, free: 10.77 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.5504, allocations: 168.5 kB / 0.6123 GB, free: 10.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.5505, allocations: 134.9 kB / 0.6124 GB, free: 10.47 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.5506, allocations: 90.2 kB / 0.6125 GB, free: 10.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.5508, allocations: 330.8 kB / 0.6128 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.5509, allocations: 69.08 kB / 0.6129 GB, free: 9.977 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.5513, allocations: 310.2 kB / 0.6132 GB, free: 9.555 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005387/0.5518, allocations: 432.1 kB / 0.6136 GB, free: 9.016 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5518, allocations: 4 kB / 0.6136 GB, free: 9.012 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006991/0.5525, allocations: 408.7 kB / 0.614 GB, free: 8.605 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.5526, allocations: 8.938 kB / 0.614 GB, free: 8.598 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.5526, allocations: 11.98 kB / 0.614 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.5526, allocations: 15.94 kB / 0.614 GB, free: 8.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/0.5544, allocations: 351.5 kB / 0.6144 GB, free: 8.227 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007221/0.5552, allocations: 1.184 MB / 0.6155 GB, free: 6.996 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.5554, allocations: 19.94 kB / 0.6155 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.5554, allocations: 28 kB / 0.6156 GB, free: 6.949 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 (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.0001764/0.5556, allocations: 169.7 kB / 0.6157 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-05/0.5557, allocations: 31.86 kB / 0.6158 GB, free: 6.742 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.5571, allocations: 0.9392 MB / 0.6167 GB, free: 5.766 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.5571, allocations: 8 kB / 0.6167 GB, free: 5.758 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5571, allocations: 0 / 0.6167 GB, free: 5.758 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.5571, allocations: 7.984 kB / 0.6167 GB, free: 5.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.5587, allocations: 1.422 MB / 0.6181 GB, free: 4.188 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.5587, allocations: 8.031 kB / 0.6181 GB, free: 4.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.5597, allocations: 143.8 kB / 0.6182 GB, free: 4.039 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.5597, allocations: 8 kB / 0.6182 GB, free: 4.031 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.5598, allocations: 4 kB / 0.6182 GB, free: 4.027 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003596/0.5601, allocations: 0.5898 MB / 0.6188 GB, free: 3.414 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.5601, allocations: 4.031 kB / 0.6188 GB, free: 3.41 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000667/0.5608, allocations: 0.5308 MB / 0.6193 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.099e-05/0.5609, allocations: 104.9 kB / 0.6194 GB, free: 2.715 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.461e-05/0.561, allocations: 51.5 kB / 0.6195 GB, free: 2.664 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.5612, allocations: 15.98 kB / 0.6195 GB, free: 2.648 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.5613, allocations: 19.91 kB / 0.6195 GB, free: 2.629 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.5613, allocations: 16 kB / 0.6195 GB, free: 2.613 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003123/0.5616, allocations: 275.1 kB / 0.6198 GB, free: 2.344 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5616, allocations: 4 kB / 0.6198 GB, free: 2.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001346/0.563, allocations: 466.6 kB / 0.6202 GB, free: 1.883 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 (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.002249/0.5652, allocations: 1.652 MB / 0.6219 GB, free: 172 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.5667, allocations: 399.1 kB / 0.6222 GB, free: 15.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5667, allocations: 3.938 kB / 0.6222 GB, free: 15.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007584/0.5675, allocations: 229.8 kB / 0.6225 GB, free: 15.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007796/0.5683, allocations: 122.6 kB / 0.6226 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.242/1.81, allocations: 0.54 GB / 1.163 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/1.81, allocations: 0.8234 MB / 1.163 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003837/1.811, allocations: 162.5 kB / 1.164 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/1.811, allocations: 162.9 kB / 1.164 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of SimCode: time 9.02e-07/1.811, allocations: 0 / 1.164 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3167/2.128, allocations: 20.2 MB / 1.183 GB, free: 220.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/14.97, allocations: 7.312 kB / 1.183 GB, free: 220.9 MB / 0.6075 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)