Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001641/0.001641, allocations: 104 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.001958/0.001958, 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.464/1.464, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2306/0.2306, allocations: 46.12 MB / 344.2 MB, free: 11.56 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.00226/0.00226, allocations: 78 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1322, allocations: 62.44 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.0354/0.1677, allocations: 26.93 MB / 0.4952 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003989/0.1717, allocations: 2.955 MB / 0.4981 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.172, allocations: 0 / 0.4981 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.1724, allocations: 51.59 kB / 0.4982 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.1749, allocations: 0.7305 MB / 0.4989 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.1753, allocations: 138.1 kB / 0.499 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007231/0.1761, allocations: 374.1 kB / 0.4994 GB, free: 5.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.409e-05/0.1762, allocations: 9.688 kB / 0.4994 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2618/0.438, allocations: 15.48 MB / 0.5145 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003423/0.4383, allocations: 149 kB / 0.5146 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.4384, allocations: 8.25 kB / 0.5147 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008522/0.4469, allocations: 3.443 MB / 0.518 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.4471, allocations: 45.44 kB / 0.5181 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.4473, allocations: 110.4 kB / 0.5182 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000904/0.4482, allocations: 468.1 kB / 0.5186 GB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4482, allocations: 3.75 kB / 0.5186 GB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4482, allocations: 0 / 0.5186 GB, free: 10.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.4482, allocations: 0 / 0.5186 GB, free: 10.76 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001/0.4492, allocations: 0.5961 MB / 0.5192 GB, free: 10.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.4493, allocations: 13.22 kB / 0.5192 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.163e-05/0.4493, allocations: 60.86 kB / 0.5193 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.4495, allocations: 26.11 kB / 0.5193 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.4497, allocations: 222.8 kB / 0.5195 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.572e-05/0.4498, allocations: 124.2 kB / 0.5196 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.4498, allocations: 25.81 kB / 0.5196 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.4503, allocations: 322.4 kB / 0.52 GB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4503, allocations: 5.75 kB / 0.52 GB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.4504, allocations: 16.25 kB / 0.52 GB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.4504, allocations: 8.797 kB / 0.52 GB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007703/0.4512, allocations: 0.7385 MB / 0.5207 GB, free: 9.879 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.001153/0.4523, allocations: 1.303 MB / 0.522 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.4527, allocations: 164.1 kB / 0.5221 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.4528, allocations: 87.41 kB / 0.5222 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001851/0.4547, allocations: 2.812 MB / 0.525 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.4547, allocations: 39.84 kB / 0.525 GB, free: 5.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.994e-06/0.4547, allocations: 0 / 0.525 GB, free: 5.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002897/0.455, allocations: 121.2 kB / 0.5251 GB, free: 5.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.4551, allocations: 53.5 kB / 0.5252 GB, free: 5.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.4553, allocations: 218.9 kB / 0.5254 GB, free: 5.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.4553, allocations: 30.64 kB / 0.5254 GB, free: 5.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/0.4554, allocations: 217.2 kB / 0.5256 GB, free: 5.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.4554, allocations: 47.25 kB / 0.5257 GB, free: 5.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.4555, allocations: 87.05 kB / 0.5257 GB, free: 5.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.4555, allocations: 328.6 kB / 0.5261 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.923e-05/0.4556, allocations: 44.48 kB / 0.5261 GB, free: 5.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.4558, allocations: 350.8 kB / 0.5264 GB, free: 4.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.4561, allocations: 439.7 kB / 0.5269 GB, free: 4.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.4562, allocations: 4 kB / 0.5269 GB, free: 4.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005016/0.4567, allocations: 385.6 kB / 0.5272 GB, free: 4.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4567, allocations: 8.938 kB / 0.5272 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.4567, allocations: 15.28 kB / 0.5272 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.4567, allocations: 18.22 kB / 0.5273 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.457, allocations: 99.77 kB / 0.5274 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.457, allocations: 16.91 kB / 0.5274 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.4572, allocations: 57.62 kB / 0.5274 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.4573, allocations: 27.5 kB / 0.5275 GB, free: 4.254 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.042e-05/0.4574, allocations: 152.2 kB / 0.5276 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.4574, allocations: 17.69 kB / 0.5276 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.4577, allocations: 151.8 kB / 0.5278 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.4577, allocations: 2.688 kB / 0.5278 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4577, allocations: 1.438 kB / 0.5278 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4577, allocations: 10.56 kB / 0.5278 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.4581, allocations: 401.5 kB / 0.5282 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4581, allocations: 5.344 kB / 0.5282 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/0.4582, allocations: 13.8 kB / 0.5282 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4582, allocations: 2.156 kB / 0.5282 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4582, allocations: 5.594 kB / 0.5282 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4582, allocations: 2.062 kB / 0.5282 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4582, allocations: 5.094 kB / 0.5282 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.4584, allocations: 201.7 kB / 0.5284 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.4584, allocations: 103.2 kB / 0.5285 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.4585, allocations: 6.469 kB / 0.5285 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.4586, allocations: 7.453 kB / 0.5285 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.4587, allocations: 8.156 kB / 0.5285 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.4587, allocations: 11.08 kB / 0.5285 GB, free: 3.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.4588, allocations: 152.2 kB / 0.5287 GB, free: 3.367 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4588, allocations: 0 / 0.5287 GB, free: 3.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005562/0.4593, allocations: 94.8 kB / 0.5288 GB, free: 3.359 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005405/0.4599, allocations: 0.8025 MB / 0.5295 GB, free: 2.656 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002893/0.4602, allocations: 174.2 kB / 0.5297 GB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4602, allocations: 0 / 0.5297 GB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.749e-05/0.4603, allocations: 27.52 kB / 0.5297 GB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.4607, allocations: 48.36 kB / 0.5298 GB, free: 2.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.4631, allocations: 2.803 MB / 0.5325 GB, free: 492 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.4634, allocations: 0.7295 MB / 0.5332 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002446/0.4636, allocations: 48.84 kB / 0.5333 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.73e-05/0.4637, allocations: 69 kB / 0.5333 GB, free: 15.74 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4637, allocations: 0 / 0.5333 GB, free: 15.74 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.4952, allocations: 5.173 MB / 0.5384 GB, free: 14.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.539, allocations: 3.406 kB / 0.5384 GB, free: 14.64 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1)