Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json 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/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.708/1.708, allocations: 227.2 MB / 245 MB, free: 7.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008774/0.0008772, allocations: 102.2 kB / 297.2 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3763/0.3763, allocations: 45.22 MB / 394.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002313/0.0002313, allocations: 8 kB / 468.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3932, allocations: 63.25 MB / 0.5193 GB, free: 43.86 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.5235, allocations: 96.05 MB / 0.6131 GB, free: 9.566 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.5239, allocations: 100.7 kB / 0.6132 GB, free: 9.473 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03358/0.5575, allocations: 12.73 MB / 0.6256 GB, free: 12.62 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5575, allocations: 0 / 0.6256 GB, free: 12.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.5575, allocations: 4 kB / 0.6256 GB, free: 12.62 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001031/0.5586, allocations: 0.6879 MB / 0.6263 GB, free: 11.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.5586, allocations: 8.031 kB / 0.6263 GB, free: 11.88 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.5587, allocations: 102.5 kB / 0.6264 GB, free: 11.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000378/0.5591, allocations: 91.34 kB / 0.6265 GB, free: 11.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.5596, allocations: 296.7 kB / 0.6268 GB, free: 11.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.5596, allocations: 37 kB / 0.6268 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-05/0.5597, allocations: 40 kB / 0.6268 GB, free: 11.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.5607, allocations: 0.6714 MB / 0.6275 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.5607, allocations: 0 / 0.6275 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.105e-05/0.5608, allocations: 16 kB / 0.6275 GB, free: 10.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/0.5608, allocations: 21 kB / 0.6275 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009238/0.5617, allocations: 0.5034 MB / 0.628 GB, free: 10.05 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.564, allocations: 1.543 MB / 0.6295 GB, free: 8.438 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.5646, allocations: 307.6 kB / 0.6298 GB, free: 8.109 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-05/0.5647, allocations: 15.97 kB / 0.6298 GB, free: 8.094 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.5647, allocations: 42.5 kB / 0.6299 GB, free: 8.043 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 2.124e-06/0.5647, allocations: 0 / 0.6299 GB, free: 8.043 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001519/0.5662, allocations: 0.749 MB / 0.6306 GB, free: 7.234 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.978e-05/0.5664, allocations: 114.8 kB / 0.6307 GB, free: 7.098 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006241/0.567, allocations: 496.8 kB / 0.6312 GB, free: 6.605 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.5671, allocations: 29.7 kB / 0.6312 GB, free: 6.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.5673, allocations: 224.1 kB / 0.6314 GB, free: 6.348 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/0.5674, allocations: 75.03 kB / 0.6315 GB, free: 6.273 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.5674, allocations: 7.938 kB / 0.6315 GB, free: 6.266 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5676, allocations: 358.8 kB / 0.6318 GB, free: 5.906 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.5679, allocations: 164.1 kB / 0.632 GB, free: 5.742 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.5684, allocations: 288.7 kB / 0.6323 GB, free: 5.406 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.5688, allocations: 203.7 kB / 0.6325 GB, free: 5.207 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.5688, allocations: 4 kB / 0.6325 GB, free: 5.203 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001047/0.5699, allocations: 0.5125 MB / 0.633 GB, free: 4.684 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.5699, allocations: 10.19 kB / 0.633 GB, free: 4.676 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.199e-05/0.57, allocations: 39.97 kB / 0.633 GB, free: 4.637 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/0.57, allocations: 8 kB / 0.633 GB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.5704, allocations: 52.05 kB / 0.6331 GB, free: 4.578 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.5704, allocations: 4 kB / 0.6331 GB, free: 4.574 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.5708, allocations: 79.3 kB / 0.6332 GB, free: 4.496 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/0.5708, allocations: 20 kB / 0.6332 GB, free: 4.477 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000291/0.5711, allocations: 205.6 kB / 0.6334 GB, free: 4.266 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.5712, allocations: 39.53 kB / 0.6334 GB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009043/0.5722, allocations: 468.8 kB / 0.6339 GB, free: 3.766 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.5722, allocations: 7.984 kB / 0.6339 GB, free: 3.758 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.5722, allocations: 4 kB / 0.6339 GB, free: 3.754 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5722, allocations: 4 kB / 0.6339 GB, free: 3.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005877/0.5728, allocations: 393.2 kB / 0.6343 GB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.355e-05/0.5729, allocations: 31.97 kB / 0.6343 GB, free: 3.285 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.573, allocations: 31.97 kB / 0.6343 GB, free: 3.254 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.573, allocations: 0 / 0.6343 GB, free: 3.254 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.5731, allocations: 12 kB / 0.6343 GB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.5731, allocations: 7.922 kB / 0.6343 GB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5731, allocations: 8 kB / 0.6343 GB, free: 3.227 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009042/0.574, allocations: 0.6456 MB / 0.635 GB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.5742, allocations: 120.6 kB / 0.6351 GB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.5742, allocations: 8 kB / 0.6351 GB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.5746, allocations: 27.97 kB / 0.6351 GB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.698e-05/0.5747, allocations: 27.95 kB / 0.6351 GB, free: 2.352 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.5747, allocations: 12 kB / 0.6352 GB, free: 2.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004154/0.5751, allocations: 387 kB / 0.6355 GB, free: 1.965 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5751, allocations: 3.938 kB / 0.6355 GB, free: 1.961 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000648/0.5758, allocations: 155.8 kB / 0.6357 GB, free: 1.809 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001579/0.5774, allocations: 1.443 MB / 0.6371 GB, free: 344 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.5784, allocations: 0.6937 MB / 0.6378 GB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5785, allocations: 0 / 0.6378 GB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005292/0.579, allocations: 492.3 kB / 0.6382 GB, free: 15.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005724/0.5796, allocations: 110.6 kB / 0.6383 GB, free: 14.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00557/0.5852, allocations: 5.646 MB / 0.6439 GB, free: 9.129 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.5857, allocations: 0.874 MB / 0.6447 GB, free: 8.227 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002368/0.5859, allocations: 87.33 kB / 0.6448 GB, free: 8.141 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.5861, allocations: 119.4 kB / 0.6449 GB, free: 8.023 MB / 458.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5861, allocations: 0 / 0.6449 GB, free: 8.023 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.6141, allocations: 12.66 MB / 0.6573 GB, free: 11.61 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.6143, allocations: 217.4 kB / 0.6575 GB, free: 11.37 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/2.919, allocations: 0 / 0.6575 GB, free: 11.37 MB / 474.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat