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_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.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.0009762/0.0009762, allocations: 177.5 kB / 17.06 MB, free: 5.094 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.456/1.456, 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.001099/0.001099, allocations: 94.92 kB / 292.1 MB, free: 10.92 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.3442/0.3442, allocations: 44.21 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003266, allocations: 8 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3198, allocations: 61.9 MB / 0.5097 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.4455, allocations: 92.98 MB / 0.6005 GB, free: 2.141 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.4458, allocations: 99.91 kB / 0.6006 GB, free: 2.047 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02762/0.4735, allocations: 9.701 MB / 0.61 GB, free: 8.176 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4735, allocations: 0 / 0.61 GB, free: 8.176 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.4736, allocations: 8 kB / 0.61 GB, free: 8.168 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001094/0.4747, allocations: 0.577 MB / 0.6106 GB, free: 7.543 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.4747, allocations: 8.031 kB / 0.6106 GB, free: 7.535 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.4749, allocations: 94.44 kB / 0.6107 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.884e-05/0.475, allocations: 43.53 kB / 0.6107 GB, free: 7.391 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.4755, allocations: 278.4 kB / 0.611 GB, free: 7.078 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.445e-05/0.4755, allocations: 29 kB / 0.611 GB, free: 7.051 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.025e-05/0.4756, allocations: 43.94 kB / 0.6111 GB, free: 7.008 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009266/0.4765, allocations: 0.5295 MB / 0.6116 GB, free: 6.469 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.4765, allocations: 0 / 0.6116 GB, free: 6.469 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.4766, allocations: 19.97 kB / 0.6116 GB, free: 6.449 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.306e-05/0.4766, allocations: 36.97 kB / 0.6116 GB, free: 6.414 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009944/0.4776, allocations: 0.5815 MB / 0.6122 GB, free: 5.832 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/0.4798, allocations: 1.195 MB / 0.6134 GB, free: 4.582 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000658/0.4805, allocations: 390.4 kB / 0.6137 GB, free: 4.195 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.4805, allocations: 4.188 kB / 0.6138 GB, free: 4.191 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.4805, allocations: 30.75 kB / 0.6138 GB, free: 4.152 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.814e-06/0.4805, allocations: 3.938 kB / 0.6138 GB, free: 4.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001021/0.4816, allocations: 478.8 kB / 0.6142 GB, free: 3.676 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.4816, allocations: 51.41 kB / 0.6143 GB, free: 3.613 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.4821, allocations: 408.8 kB / 0.6147 GB, free: 3.207 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.4822, allocations: 37.64 kB / 0.6147 GB, free: 3.164 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.4824, allocations: 184.4 kB / 0.6149 GB, free: 2.977 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.412e-05/0.4825, allocations: 74.94 kB / 0.615 GB, free: 2.902 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/0.4825, allocations: 0 / 0.615 GB, free: 2.902 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.4827, allocations: 354.8 kB / 0.6153 GB, free: 2.547 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.483, allocations: 123.9 kB / 0.6154 GB, free: 2.426 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.4832, allocations: 117.8 kB / 0.6155 GB, free: 2.312 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.4835, allocations: 141.5 kB / 0.6157 GB, free: 2.176 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4835, allocations: 0 / 0.6157 GB, free: 2.176 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006712/0.4842, allocations: 349 kB / 0.616 GB, free: 1.828 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.4842, allocations: 7.953 kB / 0.616 GB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4842, allocations: 0 / 0.616 GB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.4843, allocations: 4 kB / 0.616 GB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007813/0.485, allocations: 155.8 kB / 0.6162 GB, free: 1.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003483/0.4885, allocations: 5.512 MB / 0.6215 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.4888, allocations: 51.45 kB / 0.6216 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.4889, allocations: 15.92 kB / 0.6216 GB, free: 11.88 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.0002518/0.4891, allocations: 187.6 kB / 0.6218 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.298e-05/0.4892, allocations: 35.58 kB / 0.6218 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009026/0.4901, allocations: 463.5 kB / 0.6223 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.4901, allocations: 4 kB / 0.6223 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4901, allocations: 3.938 kB / 0.6223 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4901, allocations: 3.984 kB / 0.6223 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.4906, allocations: 369.3 kB / 0.6226 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4906, allocations: 4 kB / 0.6226 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006661/0.4913, allocations: 151.9 kB / 0.6228 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.4913, allocations: 3.953 kB / 0.6228 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.4914, allocations: 8 kB / 0.6228 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002919/0.4943, allocations: 5.52 MB / 0.6282 GB, free: 4.879 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4943, allocations: 0 / 0.6282 GB, free: 4.879 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006684/0.495, allocations: 451 kB / 0.6286 GB, free: 4.422 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.4952, allocations: 120.5 kB / 0.6287 GB, free: 4.285 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.687e-05/0.4952, allocations: 7.984 kB / 0.6287 GB, free: 4.277 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.4954, allocations: 8 kB / 0.6287 GB, free: 4.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.4955, allocations: 23.97 kB / 0.6288 GB, free: 4.246 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.4955, allocations: 15.92 kB / 0.6288 GB, free: 4.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003773/0.4959, allocations: 335.1 kB / 0.6291 GB, free: 3.902 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4959, allocations: 0 / 0.6291 GB, free: 3.902 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004358/0.4964, allocations: 111.8 kB / 0.6292 GB, free: 3.793 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 (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.001259/0.4976, allocations: 1.058 MB / 0.6302 GB, free: 2.707 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.4987, allocations: 379.5 kB / 0.6306 GB, free: 2.336 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4987, allocations: 0 / 0.6306 GB, free: 2.336 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007404/0.4995, allocations: 247.7 kB / 0.6308 GB, free: 2.094 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.4999, allocations: 77.45 kB / 0.6309 GB, free: 2.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004037/0.504, allocations: 2.61 MB / 0.6335 GB, free: 15.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.5045, allocations: 0.8605 MB / 0.6343 GB, free: 14.47 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.5048, allocations: 87.16 kB / 0.6344 GB, free: 14.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.5049, allocations: 107.4 kB / 0.6345 GB, free: 14.27 MB / 458.7 MB Notification: Performance of SimCode: time 7.42e-07/0.5049, allocations: 0 / 0.6345 GB, free: 14.27 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03181/0.5368, allocations: 10.8 MB / 0.645 GB, free: 3.805 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002985/0.5371, allocations: 247.3 kB / 0.6453 GB, free: 3.473 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/2.872, allocations: 7.094 kB / 0.6453 GB, free: 3.469 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat