Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 221.3 MB / 236 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008388/0.0008389, allocations: 88 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2143/0.2143, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.243e-05, allocations: 224 / 452 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3721/0.489, allocations: 94.45 MB / 0.5941 GB, free: 10.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.4894, allocations: 95.94 kB / 0.5942 GB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03237/0.5218, allocations: 12.13 MB / 0.606 GB, free: 14.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5218, allocations: 0 / 0.606 GB, free: 14.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.5218, allocations: 11.94 kB / 0.606 GB, free: 14.38 MB / 426.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.0009432/0.5228, allocations: 0.5998 MB / 0.6066 GB, free: 13.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.5229, allocations: 8.031 kB / 0.6066 GB, free: 13.72 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/0.523, allocations: 102.5 kB / 0.6067 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.898e-05/0.5231, allocations: 43.44 kB / 0.6067 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/0.5236, allocations: 304.2 kB / 0.607 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.5236, allocations: 33 kB / 0.6071 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.716e-05/0.5237, allocations: 44 kB / 0.6071 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/0.5246, allocations: 0.6172 MB / 0.6077 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5247, allocations: 0 / 0.6077 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.705e-05/0.5247, allocations: 23.98 kB / 0.6077 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/0.5248, allocations: 45.28 kB / 0.6078 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008947/0.5257, allocations: 0.6609 MB / 0.6084 GB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.5279, allocations: 1.364 MB / 0.6098 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006506/0.5285, allocations: 441.5 kB / 0.6102 GB, free: 9.945 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.5288, allocations: 145.2 kB / 0.6103 GB, free: 9.801 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.5288, allocations: 8.219 kB / 0.6103 GB, free: 9.793 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.5289, allocations: 42.8 kB / 0.6104 GB, free: 9.742 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 1.813e-06/0.5289, allocations: 0 / 0.6104 GB, free: 9.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006651/0.5295, allocations: 370.1 kB / 0.6107 GB, free: 9.375 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.5296, allocations: 59.34 kB / 0.6108 GB, free: 9.305 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004514/0.5301, allocations: 434.7 kB / 0.6112 GB, free: 8.875 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.5301, allocations: 29.7 kB / 0.6112 GB, free: 8.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.5302, allocations: 216.2 kB / 0.6114 GB, free: 8.621 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.729e-05/0.5303, allocations: 98.53 kB / 0.6115 GB, free: 8.523 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-05/0.5303, allocations: 11.94 kB / 0.6115 GB, free: 8.512 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5305, allocations: 362.8 kB / 0.6119 GB, free: 8.148 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.5307, allocations: 136.5 kB / 0.612 GB, free: 8.012 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.531, allocations: 224.3 kB / 0.6122 GB, free: 7.754 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.5313, allocations: 183.8 kB / 0.6124 GB, free: 7.574 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5313, allocations: 0 / 0.6124 GB, free: 7.574 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007026/0.532, allocations: 452.9 kB / 0.6128 GB, free: 7.125 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.532, allocations: 8 kB / 0.6128 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.532, allocations: 4.375 kB / 0.6128 GB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.5321, allocations: 8 kB / 0.6128 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.5331, allocations: 195.8 kB / 0.613 GB, free: 6.914 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003942/0.537, allocations: 7.29 MB / 0.6202 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/0.5374, allocations: 63.77 kB / 0.6202 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.5375, allocations: 19.94 kB / 0.6202 GB, free: 15.26 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: 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 (40): * Single equations (assignments): 28 * 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.0001689/0.5376, allocations: 145.7 kB / 0.6204 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.5377, allocations: 39.44 kB / 0.6204 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009009/0.5386, allocations: 0.4974 MB / 0.6209 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5387, allocations: 8 kB / 0.6209 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5387, allocations: 0 / 0.6209 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5387, allocations: 3.984 kB / 0.6209 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.5392, allocations: 413.2 kB / 0.6213 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5392, allocations: 0 / 0.6213 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009168/0.5401, allocations: 191.9 kB / 0.6215 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-06/0.5401, allocations: 11.88 kB / 0.6215 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.5402, allocations: 7.984 kB / 0.6215 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0037/0.5439, allocations: 7.298 MB / 0.6286 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5439, allocations: 0 / 0.6286 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.5445, allocations: 467.4 kB / 0.6291 GB, free: 5.836 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.5447, allocations: 128.7 kB / 0.6292 GB, free: 5.691 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.5447, allocations: 11.98 kB / 0.6292 GB, free: 5.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.545, allocations: 12 kB / 0.6292 GB, free: 5.668 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.5451, allocations: 23.95 kB / 0.6292 GB, free: 5.645 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.5451, allocations: 15.98 kB / 0.6293 GB, free: 5.629 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003678/0.5455, allocations: 341.1 kB / 0.6296 GB, free: 5.301 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5455, allocations: 4 kB / 0.6296 GB, free: 5.297 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005168/0.546, allocations: 131.9 kB / 0.6297 GB, free: 5.168 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 16 * 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.001104/0.5471, allocations: 1.093 MB / 0.6308 GB, free: 4.051 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.5484, allocations: 459.5 kB / 0.6312 GB, free: 3.602 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5484, allocations: 0 / 0.6312 GB, free: 3.602 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009103/0.5493, allocations: 284.3 kB / 0.6315 GB, free: 3.324 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.5498, allocations: 101.4 kB / 0.6316 GB, free: 3.223 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.5513, allocations: 0.7837 MB / 0.6324 GB, free: 2.398 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.5518, allocations: 0.8858 MB / 0.6332 GB, free: 1.484 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003103/0.5521, allocations: 136 kB / 0.6333 GB, free: 1.352 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.5523, allocations: 132.9 kB / 0.6335 GB, free: 1.223 MB / 442.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5523, allocations: 0 / 0.6335 GB, free: 1.223 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.5789, allocations: 12.84 MB / 0.646 GB, free: 4.652 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.5792, allocations: 233.4 kB / 0.6462 GB, free: 4.418 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/2.927, allocations: 8.062 kB / 0.6462 GB, free: 4.41 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat