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.001824/0.001824, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002151/0.002152, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.233/0.233, allocations: 46.12 MB / 344.2 MB, free: 11.52 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.002236/0.002236, allocations: 82.61 kB / 417.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1337, allocations: 62.45 MB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01547/0.1492, allocations: 11.28 MB / 491.5 MB, free: 9.758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01547/0.1647, allocations: 11.78 MB / 0.4915 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000262/0.1651, allocations: 4 kB / 0.4915 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004595/0.1655, allocations: 67.5 kB / 0.4915 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01234/0.1779, allocations: 3.125 MB / 0.4946 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.1784, allocations: 153.8 kB / 0.4947 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006006/0.1844, allocations: 3.893 MB / 0.4985 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.931e-05/0.1845, allocations: 20.41 kB / 0.4986 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.1847, allocations: 139.5 kB / 0.4987 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2388/0.4235, allocations: 7.12 MB / 0.5057 GB, free: 22.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.73e-05/0.4236, allocations: 12.22 kB / 0.5057 GB, free: 22.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006553/0.4302, allocations: 2.073 MB / 0.5077 GB, free: 22.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.4304, allocations: 45.64 kB / 0.5077 GB, free: 22.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.4307, allocations: 128.5 kB / 0.5079 GB, free: 22.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006403/0.4371, allocations: 1.535 MB / 0.5094 GB, free: 22.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4371, allocations: 1.312 kB / 0.5094 GB, free: 22.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.4371, allocations: 0 / 0.5094 GB, free: 22.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.4371, allocations: 0 / 0.5094 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.002957/0.4401, allocations: 0.9264 MB / 0.5103 GB, free: 22.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.4402, allocations: 8.781 kB / 0.5103 GB, free: 22.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.016e-05/0.4403, allocations: 62.92 kB / 0.5103 GB, free: 22.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006641/0.4409, allocations: 85.31 kB / 0.5104 GB, free: 22.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.4413, allocations: 241 kB / 0.5106 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.4413, allocations: 22.59 kB / 0.5107 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.4414, allocations: 24.5 kB / 0.5107 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.4425, allocations: 486.5 kB / 0.5112 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.4425, allocations: 4.594 kB / 0.5112 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/0.4426, allocations: 11.28 kB / 0.5112 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.4426, allocations: 7.906 kB / 0.5112 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.4439, allocations: 0.6792 MB / 0.5118 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.007301/0.4512, allocations: 3.1 MB / 0.5149 GB, free: 20.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007399/0.4519, allocations: 223.7 kB / 0.5151 GB, free: 20.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.4521, allocations: 74.81 kB / 0.5151 GB, free: 20.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07473/0.5268, allocations: 30.76 MB / 0.5452 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008127/0.5277, allocations: 343.7 kB / 0.5455 GB, free: 15.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.465e-06/0.5277, allocations: 3.656 kB / 0.5455 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.003282/0.531, allocations: 0.9729 MB / 0.5465 GB, free: 14.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002735/0.5313, allocations: 485.1 kB / 0.5469 GB, free: 14.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.5315, allocations: 152.9 kB / 0.5471 GB, free: 14.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.5315, allocations: 41.38 kB / 0.5471 GB, free: 14.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.5316, allocations: 163.6 kB / 0.5473 GB, free: 14.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.5318, allocations: 124.6 kB / 0.5474 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.5319, allocations: 97.58 kB / 0.5475 GB, free: 13.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5321, allocations: 329.8 kB / 0.5478 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.5322, allocations: 76.33 kB / 0.5479 GB, free: 13.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.5326, allocations: 307.3 kB / 0.5482 GB, free: 13.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/0.5332, allocations: 465.8 kB / 0.5486 GB, free: 12.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.5332, allocations: 0 / 0.5486 GB, free: 12.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008957/0.5341, allocations: 448.9 kB / 0.549 GB, free: 12.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.5341, allocations: 12 kB / 0.5491 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.5342, allocations: 8 kB / 0.5491 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002193/0.5364, allocations: 318.9 kB / 0.5494 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.5367, allocations: 102.3 kB / 0.5495 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009738/0.5377, allocations: 1.226 MB / 0.5507 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.538, allocations: 27.84 kB / 0.5507 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/0.5381, allocations: 28 kB / 0.5507 GB, free: 10.56 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 (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.0002256/0.5383, allocations: 160.4 kB / 0.5509 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.5384, allocations: 30.91 kB / 0.5509 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.54, allocations: 1.058 MB / 0.5519 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.54, allocations: 7.984 kB / 0.5519 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.54, allocations: 7.938 kB / 0.5519 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.5401, allocations: 0 / 0.5519 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.5419, allocations: 1.542 MB / 0.5534 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.5419, allocations: 11.92 kB / 0.5535 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.5421, allocations: 39.73 kB / 0.5535 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.5435, allocations: 246.3 kB / 0.5537 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.5435, allocations: 8 kB / 0.5537 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008707/0.5444, allocations: 1.267 MB / 0.555 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.5444, allocations: 4 kB / 0.555 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009006/0.5453, allocations: 0.6105 MB / 0.5556 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.5454, allocations: 104.8 kB / 0.5557 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.5455, allocations: 53.83 kB / 0.5557 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.5458, allocations: 19.64 kB / 0.5557 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.5459, allocations: 23.97 kB / 0.5558 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.5459, allocations: 8 kB / 0.5558 GB, free: 5.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003459/0.5463, allocations: 275.1 kB / 0.556 GB, free: 4.848 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5463, allocations: 8 kB / 0.556 GB, free: 4.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002125/0.5484, allocations: 431.6 kB / 0.5565 GB, free: 4.418 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 (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.003897/0.5523, allocations: 1.703 MB / 0.5581 GB, free: 2.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009248/0.5533, allocations: 376.2 kB / 0.5585 GB, free: 2.391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.5533, allocations: 4 kB / 0.5585 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.5537, allocations: 229.7 kB / 0.5587 GB, free: 2.168 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009739/0.5547, allocations: 134.2 kB / 0.5588 GB, free: 2.039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.036/1.591, allocations: 0.4949 GB / 1.054 GB, free: 60.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/1.591, allocations: 0.8313 MB / 1.055 GB, free: 59.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004836/1.591, allocations: 160.8 kB / 1.055 GB, free: 59.17 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/1.592, allocations: 164.5 kB / 1.055 GB, free: 59.01 MB / 0.5294 GB Notification: Performance of SimCode: time 8.31e-07/1.592, allocations: 4 kB / 1.055 GB, free: 59.01 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04376/1.635, allocations: 19.91 MB / 1.074 GB, free: 39.35 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.99, allocations: 13.48 kB / 1.074 GB, free: 39.34 MB / 0.5294 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)