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_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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_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.001405/0.001405, allocations: 177.1 kB / 17.06 MB, free: 5.098 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.448/1.448, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000872/0.0008719, allocations: 89.8 kB / 292.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3019/0.3019, allocations: 44.22 MB / 387.5 MB, free: 38.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003257, allocations: 8 kB / 460 MB, free: 1.398 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3302, allocations: 61.9 MB / 0.5097 GB, free: 37.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.4476, allocations: 92.79 MB / 0.6003 GB, free: 2.293 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.4479, allocations: 99.91 kB / 0.6004 GB, free: 2.199 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02826/0.4762, allocations: 10.29 MB / 0.6104 GB, free: 7.836 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4762, allocations: 0 / 0.6104 GB, free: 7.836 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.4762, allocations: 4 kB / 0.6104 GB, free: 7.832 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008204/0.4771, allocations: 0.5159 MB / 0.6109 GB, free: 7.266 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.4771, allocations: 8.031 kB / 0.6109 GB, free: 7.258 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.419e-05/0.4772, allocations: 66.53 kB / 0.611 GB, free: 7.184 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.465e-05/0.4773, allocations: 31.62 kB / 0.611 GB, free: 7.152 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.4777, allocations: 244.7 kB / 0.6113 GB, free: 6.871 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.4778, allocations: 20.52 kB / 0.6113 GB, free: 6.852 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.4778, allocations: 28 kB / 0.6113 GB, free: 6.824 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006662/0.4785, allocations: 389.2 kB / 0.6117 GB, free: 6.441 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4785, allocations: 0 / 0.6117 GB, free: 6.441 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.4785, allocations: 12 kB / 0.6117 GB, free: 6.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.4786, allocations: 24.64 kB / 0.6117 GB, free: 6.406 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006879/0.4793, allocations: 422.3 kB / 0.6121 GB, free: 5.992 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.4808, allocations: 0.8968 MB / 0.613 GB, free: 5.039 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006519/0.4815, allocations: 304.1 kB / 0.6133 GB, free: 4.738 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.4815, allocations: 7.938 kB / 0.6133 GB, free: 4.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.4816, allocations: 38.56 kB / 0.6133 GB, free: 4.684 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.4816, allocations: 0 / 0.6133 GB, free: 4.684 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008351/0.4824, allocations: 369.3 kB / 0.6137 GB, free: 4.316 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.4825, allocations: 59.41 kB / 0.6137 GB, free: 4.246 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.4828, allocations: 314.4 kB / 0.614 GB, free: 3.938 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.4829, allocations: 29.7 kB / 0.6141 GB, free: 3.902 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.483, allocations: 172.2 kB / 0.6142 GB, free: 3.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.4831, allocations: 43.34 kB / 0.6143 GB, free: 3.688 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/0.4831, allocations: 11.94 kB / 0.6143 GB, free: 3.676 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4833, allocations: 338.8 kB / 0.6146 GB, free: 3.336 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.4835, allocations: 100.3 kB / 0.6147 GB, free: 3.238 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.4838, allocations: 156 kB / 0.6148 GB, free: 3.066 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.484, allocations: 129.7 kB / 0.615 GB, free: 2.941 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.484, allocations: 0 / 0.615 GB, free: 2.941 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000624/0.4847, allocations: 321 kB / 0.6153 GB, free: 2.621 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4847, allocations: 4 kB / 0.6153 GB, free: 2.617 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4847, allocations: 4 kB / 0.6153 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.4847, allocations: 0 / 0.6153 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/0.4853, allocations: 115.8 kB / 0.6154 GB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.4876, allocations: 3.704 MB / 0.619 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.4878, allocations: 35.7 kB / 0.619 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.4878, allocations: 16.28 kB / 0.6191 GB, free: 14.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * 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.0002262/0.4881, allocations: 178.2 kB / 0.6192 GB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.4881, allocations: 23.72 kB / 0.6192 GB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007298/0.4889, allocations: 359.3 kB / 0.6196 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.4889, allocations: 3.953 kB / 0.6196 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4889, allocations: 0 / 0.6196 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4889, allocations: 0 / 0.6196 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.4893, allocations: 309.4 kB / 0.6199 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4893, allocations: 3.938 kB / 0.6199 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005185/0.4899, allocations: 107.8 kB / 0.62 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.4899, allocations: 0 / 0.62 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.4899, allocations: 11.98 kB / 0.62 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.492, allocations: 3.699 MB / 0.6236 GB, free: 9.723 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.4921, allocations: 12.3 kB / 0.6236 GB, free: 9.711 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006181/0.4927, allocations: 373.8 kB / 0.624 GB, free: 9.332 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.4928, allocations: 100.8 kB / 0.6241 GB, free: 9.215 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.4929, allocations: 7.984 kB / 0.6241 GB, free: 9.207 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.4931, allocations: 12 kB / 0.6241 GB, free: 9.195 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.4931, allocations: 23.92 kB / 0.6241 GB, free: 9.172 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.4932, allocations: 4 kB / 0.6241 GB, free: 9.168 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003428/0.4935, allocations: 253.9 kB / 0.6244 GB, free: 8.918 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-07/0.4935, allocations: 0 / 0.6244 GB, free: 8.918 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004741/0.494, allocations: 80.05 kB / 0.6244 GB, free: 8.84 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 (15): * Single equations (assignments): 9 * 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.001324/0.4953, allocations: 0.9747 MB / 0.6254 GB, free: 7.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008863/0.4962, allocations: 301.6 kB / 0.6257 GB, free: 7.547 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.4963, allocations: 0 / 0.6257 GB, free: 7.547 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005757/0.4968, allocations: 188.1 kB / 0.6259 GB, free: 7.363 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.4972, allocations: 60.5 kB / 0.6259 GB, free: 7.305 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.501, allocations: 2.875 MB / 0.6287 GB, free: 4.348 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.5015, allocations: 0.8105 MB / 0.6295 GB, free: 3.512 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.5017, allocations: 70.22 kB / 0.6296 GB, free: 3.445 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.5019, allocations: 75.41 kB / 0.6297 GB, free: 3.371 MB / 442.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5019, allocations: 0 / 0.6297 GB, free: 3.371 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.5251, allocations: 8.38 MB / 0.6378 GB, free: 11.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/0.5255, allocations: 275.3 kB / 0.6381 GB, free: 10.94 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.12/2.645, allocations: 3.938 kB / 0.6381 GB, free: 10.94 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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_KC_res.mat does not exist to compare? outputFormat=mat