Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 198.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.2 MB / 245 MB, free: 7.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009272/0.0009273, allocations: 102.5 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3966/0.3966, allocations: 45.23 MB / 394.7 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002863, allocations: 8.219 kB / 468.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4094, allocations: 63.24 MB / 0.5193 GB, free: 43.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.5427, allocations: 92.87 MB / 0.61 GB, free: 12.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.5431, allocations: 103.9 kB / 0.6101 GB, free: 12.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03468/0.5778, allocations: 12.22 MB / 0.622 GB, free: 372 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5778, allocations: 4 kB / 0.622 GB, free: 368 kB / 426.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.5778, allocations: 4 kB / 0.622 GB, free: 364 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007618/0.5786, allocations: 0.5161 MB / 0.6225 GB, free: 15.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.5786, allocations: 12.03 kB / 0.6225 GB, free: 15.78 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.681e-05/0.5787, allocations: 70.45 kB / 0.6226 GB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.5788, allocations: 27.72 kB / 0.6226 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.5791, allocations: 234.6 kB / 0.6229 GB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.5792, allocations: 24.56 kB / 0.6229 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.5792, allocations: 24 kB / 0.6229 GB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.5798, allocations: 365.2 kB / 0.6233 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.5798, allocations: 0 / 0.6233 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.5798, allocations: 12 kB / 0.6233 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/0.5799, allocations: 20.64 kB / 0.6233 GB, free: 14.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005931/0.5805, allocations: 386.3 kB / 0.6237 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.5818, allocations: 0.8502 MB / 0.6245 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.5823, allocations: 276 kB / 0.6247 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.5823, allocations: 0 / 0.6247 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.5823, allocations: 42.62 kB / 0.6248 GB, free: 13.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.5823, allocations: 0 / 0.6248 GB, free: 13.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007744/0.5831, allocations: 337.1 kB / 0.6251 GB, free: 13.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.5832, allocations: 55.83 kB / 0.6252 GB, free: 12.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.5835, allocations: 314 kB / 0.6255 GB, free: 12.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.5835, allocations: 25.7 kB / 0.6255 GB, free: 12.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.5836, allocations: 168 kB / 0.6256 GB, free: 12.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.5837, allocations: 59.19 kB / 0.6257 GB, free: 12.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.5837, allocations: 4 kB / 0.6257 GB, free: 12.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5838, allocations: 338.8 kB / 0.626 GB, free: 12.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.5841, allocations: 108.4 kB / 0.6261 GB, free: 11.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.5843, allocations: 187.9 kB / 0.6263 GB, free: 11.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.5846, allocations: 129.7 kB / 0.6264 GB, free: 11.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5846, allocations: 4 kB / 0.6264 GB, free: 11.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006054/0.5852, allocations: 352.8 kB / 0.6268 GB, free: 11.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.5852, allocations: 7.984 kB / 0.6268 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5853, allocations: 4 kB / 0.6268 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.5853, allocations: 4 kB / 0.6268 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/0.5859, allocations: 128.2 kB / 0.6269 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.5882, allocations: 3.653 MB / 0.6305 GB, free: 7.297 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.5885, allocations: 35.97 kB / 0.6305 GB, free: 7.262 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.5886, allocations: 19.98 kB / 0.6305 GB, free: 7.242 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002515/0.5888, allocations: 173.7 kB / 0.6307 GB, free: 7.062 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.5889, allocations: 31.58 kB / 0.6307 GB, free: 7.031 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007223/0.5896, allocations: 341.7 kB / 0.6311 GB, free: 6.688 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.5896, allocations: 0 / 0.6311 GB, free: 6.688 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.5896, allocations: 0 / 0.6311 GB, free: 6.688 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5896, allocations: 0 / 0.6311 GB, free: 6.688 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.59, allocations: 301.3 kB / 0.6313 GB, free: 6.344 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.59, allocations: 0 / 0.6313 GB, free: 6.344 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004761/0.5905, allocations: 111.8 kB / 0.6314 GB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.5905, allocations: 3.953 kB / 0.6315 GB, free: 6.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.5905, allocations: 7.984 kB / 0.6315 GB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.5924, allocations: 3.645 MB / 0.635 GB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5924, allocations: 0 / 0.635 GB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005342/0.593, allocations: 363.5 kB / 0.6354 GB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.5931, allocations: 96.83 kB / 0.6355 GB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.5931, allocations: 3.953 kB / 0.6355 GB, free: 1.949 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.5933, allocations: 15.98 kB / 0.6355 GB, free: 1.934 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.5933, allocations: 19.86 kB / 0.6355 GB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.5934, allocations: 7.984 kB / 0.6355 GB, free: 1.906 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002402/0.5936, allocations: 245.9 kB / 0.6357 GB, free: 1.664 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5936, allocations: 7.938 kB / 0.6357 GB, free: 1.656 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004149/0.594, allocations: 79.94 kB / 0.6358 GB, free: 1.578 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/0.595, allocations: 0.9323 MB / 0.6367 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008275/0.5959, allocations: 307.5 kB / 0.637 GB, free: 328 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5959, allocations: 0.75 kB / 0.637 GB, free: 328 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005126/0.5964, allocations: 177.2 kB / 0.6372 GB, free: 152 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.5968, allocations: 72.59 kB / 0.6373 GB, free: 80 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.6002, allocations: 3.707 MB / 0.6409 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.6006, allocations: 0.799 MB / 0.6417 GB, free: 11.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.6008, allocations: 78.89 kB / 0.6417 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.6009, allocations: 71.41 kB / 0.6418 GB, free: 11.3 MB / 458.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6009, allocations: 0 / 0.6418 GB, free: 11.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.6284, allocations: 8.007 MB / 0.6496 GB, free: 3.594 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003859/0.6289, allocations: 255 kB / 0.6499 GB, free: 3.258 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.593, allocations: 4 kB / 0.6499 GB, free: 3.254 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat