Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",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.001453/0.001453, allocations: 179.6 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.47/1.47, allocations: 221.3 MB / 236 MB, free: 2.945 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.001123/0.001123, allocations: 94.75 kB / 287 MB, free: 224 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.2254/0.2254, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.021e-05/4.03e-05, allocations: 224 / 451.9 MB, free: 9.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.152, allocations: 61.92 MB / 0.5018 GB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4849/0.6369, allocations: 95.11 MB / 0.5947 GB, free: 10.06 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/0.6373, allocations: 99.92 kB / 0.5948 GB, free: 9.965 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03695/0.6743, allocations: 14.02 MB / 0.6085 GB, free: 11.85 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6743, allocations: 0 / 0.6085 GB, free: 11.85 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.6743, allocations: 8 kB / 0.6085 GB, free: 11.84 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0009452/0.6753, allocations: 0.6308 MB / 0.6091 GB, free: 11.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.6754, allocations: 8.031 kB / 0.6091 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.6755, allocations: 82.52 kB / 0.6092 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.926e-05/0.6755, allocations: 39.53 kB / 0.6092 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.6759, allocations: 291.2 kB / 0.6095 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.676, allocations: 28.78 kB / 0.6095 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.926e-05/0.6761, allocations: 32 kB / 0.6096 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/0.6769, allocations: 0.5206 MB / 0.6101 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.6769, allocations: 0 / 0.6101 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.6769, allocations: 12 kB / 0.6101 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/0.677, allocations: 24.72 kB / 0.6101 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000517/0.6775, allocations: 346.9 kB / 0.6104 GB, free: 9.727 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.6794, allocations: 1.303 MB / 0.6117 GB, free: 8.363 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.6799, allocations: 283.5 kB / 0.612 GB, free: 8.059 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.6801, allocations: 118.5 kB / 0.6121 GB, free: 7.934 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.731e-05/0.6801, allocations: 15.98 kB / 0.6121 GB, free: 7.918 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.6802, allocations: 34.55 kB / 0.6122 GB, free: 7.875 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.6802, allocations: 0 / 0.6122 GB, free: 7.875 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006516/0.6808, allocations: 305 kB / 0.6124 GB, free: 7.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.6809, allocations: 110.8 kB / 0.6125 GB, free: 7.438 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.6814, allocations: 451 kB / 0.613 GB, free: 6.988 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.6815, allocations: 25.7 kB / 0.613 GB, free: 6.957 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.6816, allocations: 204.2 kB / 0.6132 GB, free: 6.754 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/0.6817, allocations: 59.19 kB / 0.6133 GB, free: 6.695 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.672e-05/0.6817, allocations: 4 kB / 0.6133 GB, free: 6.691 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.6819, allocations: 358.7 kB / 0.6136 GB, free: 6.332 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.6821, allocations: 120.1 kB / 0.6137 GB, free: 6.211 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.6823, allocations: 190.7 kB / 0.6139 GB, free: 5.988 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.6826, allocations: 147.9 kB / 0.614 GB, free: 5.844 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.6826, allocations: 0 / 0.614 GB, free: 5.844 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006226/0.6832, allocations: 381.7 kB / 0.6144 GB, free: 5.465 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.6832, allocations: 4 kB / 0.6144 GB, free: 5.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-05/0.6833, allocations: 39.91 kB / 0.6144 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.6833, allocations: 4 kB / 0.6144 GB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.6836, allocations: 40.31 kB / 0.6145 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.6836, allocations: 7.938 kB / 0.6145 GB, free: 5.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.6839, allocations: 63.41 kB / 0.6146 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.6839, allocations: 16 kB / 0.6146 GB, free: 5.293 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.000109/0.6841, allocations: 134.9 kB / 0.6147 GB, free: 5.156 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.871e-05/0.6842, allocations: 35.53 kB / 0.6147 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007398/0.6849, allocations: 402.1 kB / 0.6151 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.6849, allocations: 4 kB / 0.6151 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6849, allocations: 0 / 0.6151 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.6849, allocations: 0 / 0.6151 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.6855, allocations: 377.3 kB / 0.6155 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.173e-05/0.6856, allocations: 27.97 kB / 0.6155 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.6857, allocations: 35.97 kB / 0.6155 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.6857, allocations: 0 / 0.6155 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.6858, allocations: 15.98 kB / 0.6156 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.6858, allocations: 7.922 kB / 0.6156 GB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6858, allocations: 4 kB / 0.6156 GB, free: 4.207 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000634/0.6864, allocations: 0.561 MB / 0.6161 GB, free: 3.617 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.6866, allocations: 120.6 kB / 0.6162 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.693e-05/0.6866, allocations: 7.984 kB / 0.6162 GB, free: 3.473 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.6869, allocations: 23.92 kB / 0.6163 GB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.687, allocations: 23.97 kB / 0.6163 GB, free: 3.426 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.687, allocations: 15.95 kB / 0.6163 GB, free: 3.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004076/0.6875, allocations: 357.1 kB / 0.6166 GB, free: 3.062 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6875, allocations: 0 / 0.6166 GB, free: 3.062 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006417/0.6881, allocations: 131.8 kB / 0.6168 GB, free: 2.934 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001359/0.6895, allocations: 1.369 MB / 0.6181 GB, free: 1.535 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006628/0.6902, allocations: 0.5035 MB / 0.6186 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6902, allocations: 4.062 kB / 0.6186 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.6906, allocations: 371.2 kB / 0.619 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.6911, allocations: 92.8 kB / 0.619 GB, free: 480 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.6927, allocations: 0.7015 MB / 0.6197 GB, free: 15.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.6933, allocations: 0.8577 MB / 0.6206 GB, free: 14.83 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.6935, allocations: 67.22 kB / 0.6206 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.6936, allocations: 115.4 kB / 0.6207 GB, free: 14.65 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.6936, allocations: 0 / 0.6207 GB, free: 14.65 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.7214, allocations: 11.55 MB / 0.632 GB, free: 3.305 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.7216, allocations: 214.6 kB / 0.6322 GB, free: 3.07 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/3.017, allocations: 4.625 kB / 0.6322 GB, free: 3.07 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat