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.001736/0.001736, allocations: 118.2 kB / 17.78 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.001923/0.001923, 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.46/1.46, allocations: 227.4 MB / 247 MB, free: 10.41 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.2261/0.2261, 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.002241/0.002241, allocations: 79.88 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3735, 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.01422/0.3878, allocations: 11.29 MB / 0.5417 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01473/0.4026, allocations: 11.77 MB / 0.5532 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.4029, allocations: 4 kB / 0.5532 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.4033, allocations: 75.48 kB / 0.5532 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009976/0.4132, allocations: 3.113 MB / 0.5563 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.4137, allocations: 163.1 kB / 0.5564 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005617/0.4193, allocations: 3.889 MB / 0.5602 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.518e-05/0.4194, allocations: 24.34 kB / 0.5603 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.4196, allocations: 139.5 kB / 0.5604 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009682/0.4293, allocations: 7.118 MB / 0.5673 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.887e-05/0.4294, allocations: 8 kB / 0.5674 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005922/0.4353, allocations: 2.111 MB / 0.5694 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.4355, allocations: 47.77 kB / 0.5695 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.4357, allocations: 123.4 kB / 0.5696 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005283/0.441, allocations: 1.551 MB / 0.5711 GB, free: 8.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4411, allocations: 0 / 0.5711 GB, free: 8.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4411, allocations: 0 / 0.5711 GB, free: 8.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.4411, allocations: 0 / 0.5711 GB, free: 8.215 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.002511/0.4436, allocations: 0.9453 MB / 0.572 GB, free: 7.219 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.4437, allocations: 8.031 kB / 0.572 GB, free: 7.211 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.752e-05/0.4437, allocations: 62.72 kB / 0.5721 GB, free: 7.141 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005991/0.4444, allocations: 84.73 kB / 0.5722 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.4447, allocations: 248 kB / 0.5724 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.4448, allocations: 16.94 kB / 0.5724 GB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.4448, allocations: 32.38 kB / 0.5724 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009896/0.4458, allocations: 485.4 kB / 0.5729 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4458, allocations: 0 / 0.5729 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.4459, allocations: 19.98 kB / 0.5729 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.4459, allocations: 8 kB / 0.5729 GB, free: 6.195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.4471, allocations: 0.6773 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.006462/0.4535, allocations: 3.099 MB / 0.5766 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.4542, allocations: 224.1 kB / 0.5768 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.4544, allocations: 73.39 kB / 0.5769 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0807/0.5351, allocations: 30.77 MB / 0.607 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007861/0.5359, allocations: 350.5 kB / 0.6073 GB, free: 364 kB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.284e-06/0.5359, allocations: 0 / 0.6073 GB, free: 364 kB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.003118/0.539, allocations: 1.002 MB / 0.6083 GB, free: 15.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003008/0.5393, allocations: 486.5 kB / 0.6087 GB, free: 14.76 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.5395, allocations: 161.7 kB / 0.6089 GB, free: 14.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.5396, allocations: 33.7 kB / 0.6089 GB, free: 14.55 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.5397, allocations: 160.4 kB / 0.6091 GB, free: 14.39 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.5398, allocations: 146.8 kB / 0.6092 GB, free: 14.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.5399, allocations: 94.19 kB / 0.6093 GB, free: 14.15 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5401, allocations: 326.8 kB / 0.6096 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.5403, allocations: 73.08 kB / 0.6097 GB, free: 13.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.5406, allocations: 326.1 kB / 0.61 GB, free: 13.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005665/0.5412, allocations: 448 kB / 0.6104 GB, free: 12.76 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.5412, allocations: 4 kB / 0.6104 GB, free: 12.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007667/0.542, allocations: 447.4 kB / 0.6109 GB, free: 12.31 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.542, allocations: 8 kB / 0.6109 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.542, allocations: 8 kB / 0.6109 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002036/0.5441, allocations: 309.4 kB / 0.6112 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.5444, allocations: 111.8 kB / 0.6113 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007917/0.5452, allocations: 1.219 MB / 0.6125 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.5454, allocations: 28.14 kB / 0.6125 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/0.5455, allocations: 35.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.0001799/0.5457, allocations: 165.5 kB / 0.6127 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.5458, allocations: 27.89 kB / 0.6127 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.5472, allocations: 1.05 MB / 0.6137 GB, free: 9.254 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.5472, allocations: 7.938 kB / 0.6137 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.5473, allocations: 4 kB / 0.6137 GB, free: 9.242 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.5473, allocations: 7.984 kB / 0.6138 GB, free: 9.234 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.549, allocations: 1.56 MB / 0.6153 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.549, allocations: 0 / 0.6153 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.5492, allocations: 39.92 kB / 0.6153 GB, free: 7.488 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/0.5504, allocations: 245.5 kB / 0.6155 GB, free: 7.242 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.5504, allocations: 8 kB / 0.6156 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007659/0.5512, allocations: 1.266 MB / 0.6168 GB, free: 5.922 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5512, allocations: 4 kB / 0.6168 GB, free: 5.918 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000791/0.552, allocations: 0.5989 MB / 0.6174 GB, free: 5.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-05/0.5521, allocations: 112.8 kB / 0.6175 GB, free: 5.141 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.463e-05/0.5522, allocations: 47.58 kB / 0.6175 GB, free: 5.094 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.5524, allocations: 19.98 kB / 0.6176 GB, free: 5.074 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.5525, allocations: 23.97 kB / 0.6176 GB, free: 5.051 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.5525, allocations: 16 kB / 0.6176 GB, free: 5.035 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003072/0.5528, allocations: 275.2 kB / 0.6179 GB, free: 4.766 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5528, allocations: 3.938 kB / 0.6179 GB, free: 4.762 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00137/0.5542, allocations: 446.6 kB / 0.6183 GB, free: 4.324 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.002377/0.5566, allocations: 1.701 MB / 0.6199 GB, free: 2.555 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006608/0.5573, allocations: 368.6 kB / 0.6203 GB, free: 2.191 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5573, allocations: 8.062 kB / 0.6203 GB, free: 2.184 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.5576, allocations: 233.4 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.0007844/0.5584, allocations: 132.8 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.218/1.777, allocations: 0.495 GB / 1.116 GB, free: 62.99 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/1.777, allocations: 0.8234 MB / 1.116 GB, free: 62.14 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003351/1.777, allocations: 166.2 kB / 1.117 GB, free: 62 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/1.777, allocations: 167.4 kB / 1.117 GB, free: 61.84 MB / 0.6075 GB Notification: Performance of SimCode: time 7.01e-07/1.777, allocations: 4 kB / 1.117 GB, free: 61.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04316/1.82, allocations: 20.04 MB / 1.136 GB, free: 42.05 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/14.6, allocations: 4.812 kB / 1.136 GB, free: 42.05 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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)