Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 177.5 kB / 16.57 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.403/0.403, allocations: 43.55 MB / 314.5 MB, free: 9.016 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005253/0.0005253, allocations: 16 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1383, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.2698/0.4081, allocations: 14.22 MB / 457.1 MB, free: 36.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006798/0.415, allocations: 4.073 MB / 461.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.4161, allocations: 30.06 kB / 461.2 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009051/0.417, allocations: 269.3 kB / 461.4 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.4191, allocations: 0.6889 MB / 462.1 MB, free: 36.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.4213, allocations: 0.6985 MB / 462.8 MB, free: 36.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.4227, allocations: 1.022 MB / 463.8 MB, free: 36.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005853/0.4233, allocations: 388 kB / 464.2 MB, free: 36.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.4245, allocations: 0.6307 MB / 464.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005355/0.4251, allocations: 419 kB / 465.3 MB, free: 36.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.221e-05/0.4252, allocations: 32.62 kB / 465.3 MB, free: 36.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007591/0.4259, allocations: 239.9 kB / 465.5 MB, free: 36.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.4262, allocations: 211.4 kB / 465.7 MB, free: 36.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.4263, allocations: 172.2 kB / 465.9 MB, free: 36.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007253/0.4271, allocations: 0.7558 MB / 466.7 MB, free: 36.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.4271, allocations: 0 / 466.7 MB, free: 36.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.4271, allocations: 0 / 466.7 MB, free: 36.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.4271, allocations: 0 / 466.7 MB, free: 36.15 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001882/0.429, allocations: 0.9284 MB / 467.6 MB, free: 35.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.429, allocations: 8.438 kB / 467.6 MB, free: 35.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.4292, allocations: 96.52 kB / 467.7 MB, free: 35.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003105/0.4295, allocations: 91.16 kB / 467.8 MB, free: 35.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007454/0.4302, allocations: 495.9 kB / 468.3 MB, free: 35.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.887e-05/0.4303, allocations: 105.2 kB / 468.4 MB, free: 35.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.222e-05/0.4304, allocations: 50.59 kB / 468.4 MB, free: 35.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.4315, allocations: 0.8164 MB / 469.2 MB, free: 34.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.4315, allocations: 6.75 kB / 469.2 MB, free: 34.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.4316, allocations: 23.47 kB / 469.3 MB, free: 34.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.062e-05/0.4317, allocations: 34.55 kB / 469.3 MB, free: 34.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008934/0.4326, allocations: 0.6461 MB / 469.9 MB, free: 34.91 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.003896/0.4365, allocations: 4.251 MB / 474.2 MB, free: 32.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007469/0.4372, allocations: 411.5 kB / 474.6 MB, free: 32.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004137/0.4377, allocations: 0.4984 MB / 475.1 MB, free: 31.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.4377, allocations: 41.08 kB / 475.1 MB, free: 31.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.574e-06/0.4377, allocations: 0 / 475.1 MB, free: 31.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.002964/0.4407, allocations: 1.528 MB / 476.7 MB, free: 31.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.4408, allocations: 140 kB / 476.8 MB, free: 30.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.4414, allocations: 0.5609 MB / 477.4 MB, free: 30.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.4414, allocations: 35.77 kB / 477.4 MB, free: 30.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.4417, allocations: 358.1 kB / 477.7 MB, free: 30.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.4418, allocations: 164.9 kB / 477.9 MB, free: 30.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.4418, allocations: 10.22 kB / 477.9 MB, free: 30.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4419, allocations: 379.4 kB / 478.3 MB, free: 30.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.4423, allocations: 218.4 kB / 478.5 MB, free: 30.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005239/0.4428, allocations: 0.5198 MB / 479 MB, free: 29.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.4433, allocations: 315.6 kB / 479.3 MB, free: 29.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4433, allocations: 3.188 kB / 479.3 MB, free: 29.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001733/0.445, allocations: 0.9659 MB / 480.3 MB, free: 29.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.4451, allocations: 9.812 kB / 480.3 MB, free: 29.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.4451, allocations: 9.906 kB / 480.3 MB, free: 29.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.4462, allocations: 267.8 kB / 480.6 MB, free: 29.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.4466, allocations: 120.5 kB / 480.7 MB, free: 29.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008502/0.4475, allocations: 0.8623 MB / 481.6 MB, free: 28.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005607/0.448, allocations: 50.61 kB / 481.6 MB, free: 28.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.384e-05/0.4481, allocations: 40.69 kB / 481.6 MB, free: 28.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003204/0.4484, allocations: 252.4 kB / 481.9 MB, free: 28.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.086e-05/0.4485, allocations: 62.34 kB / 482 MB, free: 28.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.4498, allocations: 0.7238 MB / 482.7 MB, free: 27.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.4498, allocations: 3.406 kB / 482.7 MB, free: 27.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.4498, allocations: 5.625 kB / 482.7 MB, free: 27.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.4498, allocations: 6.234 kB / 482.7 MB, free: 27.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.4517, allocations: 1.401 MB / 484.1 MB, free: 27.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.4517, allocations: 3.438 kB / 484.1 MB, free: 27.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008786/0.4526, allocations: 195.4 kB / 484.3 MB, free: 27.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002592/0.4529, allocations: 62.89 kB / 484.3 MB, free: 27.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.4529, allocations: 14.42 kB / 484.4 MB, free: 27.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.4546, allocations: 2.81 MB / 487.2 MB, free: 24.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4546, allocations: 0 / 487.2 MB, free: 24.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.4561, allocations: 1.077 MB / 488.2 MB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/0.4564, allocations: 205.8 kB / 488.5 MB, free: 23.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-05/0.4565, allocations: 10.97 kB / 488.5 MB, free: 23.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.4569, allocations: 33.41 kB / 488.5 MB, free: 23.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.457, allocations: 39.5 kB / 488.5 MB, free: 23.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.457, allocations: 25.64 kB / 488.6 MB, free: 23.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004387/0.4575, allocations: 395.2 kB / 488.9 MB, free: 23.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4575, allocations: 0 / 488.9 MB, free: 23.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008208/0.4583, allocations: 207.6 kB / 489.1 MB, free: 23.35 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002042/0.4603, allocations: 2.233 MB / 491.4 MB, free: 21.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.4616, allocations: 0.5932 MB / 492 MB, free: 21.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4616, allocations: 0 / 492 MB, free: 21.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.4627, allocations: 490 kB / 492.5 MB, free: 21.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.4644, allocations: 321.9 kB / 492.8 MB, free: 21.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009712/0.4741, allocations: 10.5 MB / 0.4915 GB, free: 28.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007653/0.4749, allocations: 0.9492 MB / 0.4924 GB, free: 27.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001052/0.476, allocations: 201 kB / 0.4926 GB, free: 27.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003474/0.4764, allocations: 233.9 kB / 0.4928 GB, free: 27.64 MB / 398.1 MB Notification: Performance of SimCode: time 1.753e-06/0.4764, allocations: 0 / 0.4928 GB, free: 27.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0479/0.5243, allocations: 19.97 MB / 0.5123 GB, free: 21.31 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/0.5245, allocations: 287.3 kB / 0.5126 GB, free: 20.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/2.708, allocations: 0 / 0.5126 GB, free: 20.96 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat