Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_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.001114/0.001114, allocations: 177.3 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.373/1.373, allocations: 223.2 MB / 241 MB, free: 11.89 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.0009374/0.0009374, allocations: 91.69 kB / 292.1 MB, free: 10.91 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.327/0.327, allocations: 44.22 MB / 387.5 MB, free: 39.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004457/0.0004459, allocations: 11.98 kB / 460 MB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3956, allocations: 61.9 MB / 0.5097 GB, free: 37.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.5277, allocations: 98.03 MB / 0.6054 GB, free: 12.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.528, allocations: 107.9 kB / 0.6055 GB, free: 12.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04321/0.5712, allocations: 14.73 MB / 0.6199 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5713, allocations: 0 / 0.6199 GB, free: 13.99 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.5713, allocations: 8 kB / 0.6199 GB, free: 13.98 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0009648/0.5723, allocations: 0.6199 MB / 0.6205 GB, free: 13.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.5723, allocations: 8.031 kB / 0.6205 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.719e-05/0.5724, allocations: 82.52 kB / 0.6206 GB, free: 13.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.501e-05/0.5725, allocations: 39.53 kB / 0.6206 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.5729, allocations: 278.4 kB / 0.6209 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.573, allocations: 29 kB / 0.6209 GB, free: 12.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.573, allocations: 39.95 kB / 0.6209 GB, free: 12.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008151/0.5738, allocations: 0.5373 MB / 0.6215 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.5739, allocations: 0 / 0.6215 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.5739, allocations: 23.97 kB / 0.6215 GB, free: 12.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.936e-05/0.574, allocations: 36.98 kB / 0.6215 GB, free: 12.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008678/0.5748, allocations: 0.5698 MB / 0.6221 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.5767, allocations: 1.203 MB / 0.6233 GB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006139/0.5773, allocations: 383 kB / 0.6236 GB, free: 9.984 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.5773, allocations: 8.266 kB / 0.6236 GB, free: 9.977 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.5774, allocations: 38.69 kB / 0.6237 GB, free: 9.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/0.5774, allocations: 0 / 0.6237 GB, free: 9.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009479/0.5783, allocations: 474.8 kB / 0.6241 GB, free: 9.461 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.5784, allocations: 55.41 kB / 0.6242 GB, free: 9.395 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004369/0.5788, allocations: 404.8 kB / 0.6246 GB, free: 8.992 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.5789, allocations: 33.7 kB / 0.6246 GB, free: 8.953 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.579, allocations: 192.3 kB / 0.6248 GB, free: 8.758 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.623e-05/0.5791, allocations: 78.92 kB / 0.6249 GB, free: 8.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.547e-05/0.5791, allocations: 4 kB / 0.6249 GB, free: 8.676 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5793, allocations: 346.8 kB / 0.6252 GB, free: 8.328 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.5795, allocations: 115.9 kB / 0.6253 GB, free: 8.215 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.5797, allocations: 127.8 kB / 0.6254 GB, free: 8.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.58, allocations: 138.1 kB / 0.6256 GB, free: 7.957 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.58, allocations: 0 / 0.6256 GB, free: 7.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006427/0.5807, allocations: 345 kB / 0.6259 GB, free: 7.613 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5807, allocations: 15.89 kB / 0.6259 GB, free: 7.598 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.5807, allocations: 0 / 0.6259 GB, free: 7.598 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.5807, allocations: 0 / 0.6259 GB, free: 7.598 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000764/0.5815, allocations: 155.8 kB / 0.626 GB, free: 7.445 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.5847, allocations: 5.512 MB / 0.6314 GB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.585, allocations: 51.45 kB / 0.6315 GB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.585, allocations: 16.27 kB / 0.6315 GB, free: 1.656 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002222/0.5852, allocations: 191.6 kB / 0.6317 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.5853, allocations: 39.58 kB / 0.6317 GB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008463/0.5862, allocations: 459.6 kB / 0.6322 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.5862, allocations: 7.984 kB / 0.6322 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5862, allocations: 0 / 0.6322 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5862, allocations: 0 / 0.6322 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.5867, allocations: 369.3 kB / 0.6325 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.5867, allocations: 0 / 0.6325 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006894/0.5874, allocations: 151.8 kB / 0.6327 GB, free: 416 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.5874, allocations: 7.953 kB / 0.6327 GB, free: 408 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.5874, allocations: 11.98 kB / 0.6327 GB, free: 396 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003189/0.5906, allocations: 5.512 MB / 0.6381 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.5906, allocations: 4.312 kB / 0.6381 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000708/0.5914, allocations: 450.8 kB / 0.6385 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.5915, allocations: 124.5 kB / 0.6386 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.5916, allocations: 4 kB / 0.6386 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.5918, allocations: 16 kB / 0.6386 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.5919, allocations: 15.97 kB / 0.6386 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.5919, allocations: 11.98 kB / 0.6387 GB, free: 10.01 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003968/0.5923, allocations: 339.1 kB / 0.639 GB, free: 9.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5923, allocations: 0 / 0.639 GB, free: 9.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006725/0.593, allocations: 147.8 kB / 0.6391 GB, free: 9.535 MB / 458.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {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.001386/0.5944, allocations: 1.144 MB / 0.6402 GB, free: 8.363 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.5955, allocations: 379.5 kB / 0.6406 GB, free: 7.992 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5955, allocations: 0 / 0.6406 GB, free: 7.992 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007029/0.5962, allocations: 243.7 kB / 0.6408 GB, free: 7.754 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.5966, allocations: 85.44 kB / 0.6409 GB, free: 7.672 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.6002, allocations: 2.634 MB / 0.6435 GB, free: 4.988 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.6007, allocations: 0.862 MB / 0.6443 GB, free: 4.098 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002074/0.6009, allocations: 83.16 kB / 0.6444 GB, free: 4.016 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.601, allocations: 111.4 kB / 0.6445 GB, free: 3.906 MB / 458.7 MB Notification: Performance of SimCode: time 5.11e-07/0.6011, allocations: 0 / 0.6445 GB, free: 3.906 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.627, allocations: 11.99 MB / 0.6562 GB, free: 8.242 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.6272, allocations: 243.4 kB / 0.6565 GB, free: 7.914 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/2.914, allocations: 3.094 kB / 0.6565 GB, free: 7.914 MB / 474.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat