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.0007584/0.0007585, allocations: 88.19 kB / 15.7 MB, free: 460 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.0008039/0.0008039, allocations: 171.9 kB / 16.58 MB, free: 6.84 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.492/1.492, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.4463/0.4463, allocations: 43.56 MB / 314.6 MB, free: 9.039 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.0006171/0.0006171, allocations: 19.98 kB / 384 MB, free: 8.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1408, allocations: 58.85 MB / 442.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.2989/0.4398, allocations: 19.14 MB / 462 MB, free: 36.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006515/0.4464, allocations: 4.141 MB / 466.2 MB, free: 36.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008876/0.4473, allocations: 21.12 kB / 466.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008467/0.4482, allocations: 260 kB / 466.4 MB, free: 36.51 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002089/0.4503, allocations: 0.7886 MB / 467.2 MB, free: 36.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.4526, allocations: 0.6898 MB / 467.9 MB, free: 36.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002537/0.4552, allocations: 2.195 MB / 470.1 MB, free: 35.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005937/0.4558, allocations: 383.4 kB / 470.5 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.4573, allocations: 0.7625 MB / 471.3 MB, free: 35.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007898/0.4581, allocations: 0.6252 MB / 471.9 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.109e-05/0.4582, allocations: 32.41 kB / 471.9 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000708/0.4589, allocations: 207.4 kB / 472.1 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.4591, allocations: 233.2 kB / 472.3 MB, free: 35.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.4593, allocations: 163.2 kB / 472.5 MB, free: 35.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006872/0.46, allocations: 0.7714 MB / 473.3 MB, free: 35.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.46, allocations: 0 / 473.3 MB, free: 35.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.46, allocations: 0 / 473.3 MB, free: 35.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.46, allocations: 3.438 kB / 473.3 MB, free: 35.45 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.001758/0.4618, allocations: 0.9279 MB / 474.2 MB, free: 34.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4619, allocations: 8.906 kB / 474.2 MB, free: 34.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.462, allocations: 94.11 kB / 474.3 MB, free: 34.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.4623, allocations: 84.56 kB / 474.4 MB, free: 34.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006366/0.4629, allocations: 0.4943 MB / 474.9 MB, free: 34.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.924e-05/0.463, allocations: 99.56 kB / 475 MB, free: 34.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.323e-05/0.4631, allocations: 53.61 kB / 475 MB, free: 34.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.4642, allocations: 0.8165 MB / 475.8 MB, free: 34.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.4643, allocations: 7.031 kB / 475.9 MB, free: 34.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.617e-05/0.4643, allocations: 22.12 kB / 475.9 MB, free: 34.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.89e-05/0.4644, allocations: 39.09 kB / 475.9 MB, free: 34.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009448/0.4654, allocations: 0.6431 MB / 476.6 MB, free: 33.8 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.0039/0.4693, allocations: 4.22 MB / 480.8 MB, free: 30.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/0.47, allocations: 414.2 kB / 481.2 MB, free: 30.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.4703, allocations: 212.6 kB / 481.4 MB, free: 30.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003777/0.4707, allocations: 0.501 MB / 481.9 MB, free: 29.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.4707, allocations: 38.14 kB / 481.9 MB, free: 29.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.726e-06/0.4707, allocations: 3.938 kB / 481.9 MB, free: 29.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.002711/0.4735, allocations: 1.524 MB / 483.5 MB, free: 28.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.4735, allocations: 131.6 kB / 483.6 MB, free: 28.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005396/0.4741, allocations: 0.5625 MB / 484.1 MB, free: 28.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.4741, allocations: 37.11 kB / 484.2 MB, free: 28.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.4743, allocations: 362.2 kB / 484.5 MB, free: 27.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-05/0.4744, allocations: 157.8 kB / 484.7 MB, free: 27.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.4745, allocations: 15.25 kB / 484.7 MB, free: 27.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.4746, allocations: 376.8 kB / 485.1 MB, free: 27.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.4749, allocations: 216.9 kB / 485.3 MB, free: 27.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004288/0.4753, allocations: 0.5187 MB / 485.8 MB, free: 26.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.4757, allocations: 312.4 kB / 486.1 MB, free: 26.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.4757, allocations: 7.375 kB / 486.1 MB, free: 26.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001612/0.4774, allocations: 0.963 MB / 487.1 MB, free: 26.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.4774, allocations: 11.84 kB / 487.1 MB, free: 26.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.4774, allocations: 9.688 kB / 487.1 MB, free: 26.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009822/0.4784, allocations: 269.7 kB / 487.4 MB, free: 26.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.4788, allocations: 131.6 kB / 487.5 MB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007698/0.4796, allocations: 0.8589 MB / 488.3 MB, free: 25.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.48, allocations: 56.69 kB / 488.4 MB, free: 25.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.4801, allocations: 36.06 kB / 488.4 MB, free: 25.66 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.0002707/0.4804, allocations: 241.5 kB / 488.7 MB, free: 25.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.779e-05/0.4805, allocations: 66.02 kB / 488.7 MB, free: 25.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.4817, allocations: 0.7189 MB / 489.5 MB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.4817, allocations: 5.906 kB / 489.5 MB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4817, allocations: 0 / 489.5 MB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.4817, allocations: 6.328 kB / 489.5 MB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.4837, allocations: 1.392 MB / 490.9 MB, free: 24.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4837, allocations: 8.016 kB / 490.9 MB, free: 24.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008483/0.4845, allocations: 194.2 kB / 491.1 MB, free: 24.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002732/0.4848, allocations: 67.22 kB / 491.1 MB, free: 24.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/0.4849, allocations: 16.06 kB / 491.1 MB, free: 24.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.4866, allocations: 2.79 MB / 493.9 MB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4866, allocations: 8 kB / 493.9 MB, free: 21.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.4879, allocations: 0.9961 MB / 494.9 MB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.4881, allocations: 194.1 kB / 495.1 MB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.567e-05/0.4882, allocations: 11.14 kB / 495.1 MB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.4886, allocations: 38.83 kB / 495.2 MB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.4887, allocations: 35.98 kB / 495.2 MB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/0.4888, allocations: 22.12 kB / 495.2 MB, free: 20.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004676/0.4893, allocations: 393.7 kB / 495.6 MB, free: 20.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.21e-07/0.4893, allocations: 0 / 495.6 MB, free: 20.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00105/0.4903, allocations: 210.1 kB / 495.8 MB, free: 20.59 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.002206/0.4925, allocations: 1.673 MB / 497.5 MB, free: 19.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.4938, allocations: 0.5902 MB / 498.1 MB, free: 19.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4938, allocations: 1.062 kB / 498.1 MB, free: 19.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.495, allocations: 492.9 kB / 498.6 MB, free: 19.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.4967, allocations: 335.8 kB / 498.9 MB, free: 18.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008752/0.5054, allocations: 4.328 MB / 0.4914 GB, free: 16.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006322/0.5061, allocations: 0.9446 MB / 0.4923 GB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001027/0.5071, allocations: 204.1 kB / 0.4925 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.5075, allocations: 230.3 kB / 0.4928 GB, free: 15.63 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5076, allocations: 0 / 0.4928 GB, free: 15.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04865/0.5562, allocations: 20.04 MB / 0.5123 GB, free: 8.066 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.5564, allocations: 294.2 kB / 0.5126 GB, free: 7.707 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/2.722, allocations: 0 / 0.5126 GB, free: 7.707 MB / 382.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