Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_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.00201/0.00201, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008347/0.0008349, allocations: 97.61 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2153/0.2153, allocations: 45.15 MB / 383.8 MB, free: 300 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.597e-05/1.6e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.124, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4541/0.5782, allocations: 94.85 MB / 0.5971 GB, free: 7.453 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.5785, allocations: 92.73 kB / 0.5972 GB, free: 7.398 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03145/0.61, allocations: 12.04 MB / 0.609 GB, free: 13.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.61, allocations: 4 kB / 0.609 GB, free: 13.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.61, allocations: 4 kB / 0.609 GB, free: 13.2 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.0008905/0.6109, allocations: 0.612 MB / 0.6096 GB, free: 12.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.611, allocations: 8.031 kB / 0.6096 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.584e-05/0.6111, allocations: 43.44 kB / 0.6096 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.6115, allocations: 303.8 kB / 0.6099 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.6115, allocations: 12 kB / 0.6099 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.6116, allocations: 32 kB / 0.6099 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007336/0.6123, allocations: 0.5763 MB / 0.6105 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007817/0.6131, allocations: 0.5552 MB / 0.611 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.6131, allocations: 0 / 0.611 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.6132, allocations: 7.922 kB / 0.6111 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.914e-05/0.6132, allocations: 40.55 kB / 0.6111 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.6151, allocations: 1.224 MB / 0.6123 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007077/0.6159, allocations: 0.5089 MB / 0.6128 GB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.6161, allocations: 162 kB / 0.6129 GB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.6161, allocations: 15.97 kB / 0.613 GB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.6162, allocations: 33.94 kB / 0.613 GB, free: 9.469 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 1.493e-06/0.6162, allocations: 0 / 0.613 GB, free: 9.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007128/0.6169, allocations: 405.2 kB / 0.6134 GB, free: 9.105 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.617, allocations: 55.41 kB / 0.6134 GB, free: 9.039 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.6172, allocations: 167.1 kB / 0.6136 GB, free: 8.887 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.6172, allocations: 29.7 kB / 0.6136 GB, free: 8.852 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.6174, allocations: 222 kB / 0.6138 GB, free: 8.652 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.6175, allocations: 132.1 kB / 0.614 GB, free: 8.539 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/0.6175, allocations: 0 / 0.614 GB, free: 8.539 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6177, allocations: 330.1 kB / 0.6143 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.6179, allocations: 157.6 kB / 0.6144 GB, free: 8.078 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.6182, allocations: 258.8 kB / 0.6147 GB, free: 7.812 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.6186, allocations: 204.7 kB / 0.6149 GB, free: 7.637 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.6186, allocations: 3.984 kB / 0.6149 GB, free: 7.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007342/0.6193, allocations: 470.5 kB / 0.6153 GB, free: 7.211 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.6194, allocations: 12.06 kB / 0.6153 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6194, allocations: 0 / 0.6153 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.6194, allocations: 8 kB / 0.6153 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009947/0.6204, allocations: 211.5 kB / 0.6155 GB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004327/0.6247, allocations: 7.324 MB / 0.6227 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.625, allocations: 23.86 kB / 0.6227 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-05/0.6251, allocations: 23.23 kB / 0.6227 GB, free: 15.42 MB / 426.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: 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.6252, allocations: 124.2 kB / 0.6228 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006338/0.6259, allocations: 410.3 kB / 0.6232 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.6259, allocations: 24.23 kB / 0.6233 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009555/0.6269, allocations: 0.5344 MB / 0.6238 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.6269, allocations: 4 kB / 0.6238 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6269, allocations: 0 / 0.6238 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.627, allocations: 4 kB / 0.6238 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005514/0.6275, allocations: 383.4 kB / 0.6242 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.6275, allocations: 4 kB / 0.6242 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009031/0.6284, allocations: 199.7 kB / 0.6244 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.6285, allocations: 3.984 kB / 0.6244 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.6285, allocations: 13.02 kB / 0.6244 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004031/0.6325, allocations: 7.323 MB / 0.6315 GB, free: 6.301 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6325, allocations: 0 / 0.6315 GB, free: 6.301 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006407/0.6332, allocations: 0.4982 MB / 0.632 GB, free: 5.828 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.6333, allocations: 108.7 kB / 0.6321 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.6333, allocations: 0 / 0.6321 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.6335, allocations: 15.92 kB / 0.6321 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.6336, allocations: 23.41 kB / 0.6321 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.6337, allocations: 15.98 kB / 0.6322 GB, free: 5.652 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001034/0.6338, allocations: 133 kB / 0.6323 GB, free: 5.539 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6338, allocations: 0 / 0.6323 GB, free: 5.539 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005643/0.6343, allocations: 147.4 kB / 0.6324 GB, free: 5.395 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001131/0.6355, allocations: 1.12 MB / 0.6335 GB, free: 4.297 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.6367, allocations: 499.8 kB / 0.634 GB, free: 3.852 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.6367, allocations: 0 / 0.634 GB, free: 3.852 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008849/0.6376, allocations: 312.5 kB / 0.6343 GB, free: 3.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.6379, allocations: 11.81 kB / 0.6343 GB, free: 3.562 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.6393, allocations: 0.7473 MB / 0.635 GB, free: 2.812 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/0.6398, allocations: 0.8953 MB / 0.6359 GB, free: 1.902 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002539/0.6401, allocations: 109.9 kB / 0.636 GB, free: 1.793 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.6402, allocations: 123.1 kB / 0.6361 GB, free: 1.762 MB / 426.7 MB Notification: Performance of SimCode: time 1.553e-06/0.6402, allocations: 0 / 0.6361 GB, free: 1.762 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.6678, allocations: 8.027 MB / 0.644 GB, free: 9.77 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.6681, allocations: 181.1 kB / 0.6441 GB, free: 9.582 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.653, allocations: 4 kB / 0.6441 GB, free: 9.578 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat