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.002019/0.002019, 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.566/1.566, allocations: 221.3 MB / 236 MB, free: 3.004 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.0009124/0.0009122, allocations: 91.67 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.2136/0.2136, allocations: 44.16 MB / 382.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.127e-05/3.131e-05, allocations: 12.2 kB / 452 MB, free: 9.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1362, allocations: 61.9 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4131/0.5494, allocations: 92.91 MB / 0.5925 GB, free: 12.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.5497, allocations: 88.91 kB / 0.5926 GB, free: 12.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0264/0.5761, allocations: 9.717 MB / 0.6021 GB, free: 2.387 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5762, allocations: 3.938 kB / 0.6021 GB, free: 2.383 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.5762, allocations: 8 kB / 0.6021 GB, free: 2.375 MB / 410.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.0008485/0.5771, allocations: 0.5607 MB / 0.6027 GB, free: 1.766 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.5771, allocations: 8.031 kB / 0.6027 GB, free: 1.758 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.5773, allocations: 90.5 kB / 0.6028 GB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.5774, allocations: 39.47 kB / 0.6028 GB, free: 1.621 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.5778, allocations: 281.7 kB / 0.6031 GB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.5778, allocations: 28.78 kB / 0.6031 GB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-05/0.5779, allocations: 43.94 kB / 0.6031 GB, free: 1.238 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007991/0.5787, allocations: 0.5125 MB / 0.6036 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5787, allocations: 0 / 0.6036 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.5788, allocations: 16 kB / 0.6037 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-05/0.5788, allocations: 36.97 kB / 0.6037 GB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007237/0.5796, allocations: 0.5348 MB / 0.6042 GB, free: 136 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.5814, allocations: 1.202 MB / 0.6054 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/0.582, allocations: 360.1 kB / 0.6057 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.5822, allocations: 121.1 kB / 0.6059 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.5822, allocations: 12.16 kB / 0.6059 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.5822, allocations: 38.78 kB / 0.6059 GB, free: 14.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.5823, allocations: 0 / 0.6059 GB, free: 14.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005915/0.5829, allocations: 306.6 kB / 0.6062 GB, free: 14.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.5829, allocations: 55.41 kB / 0.6062 GB, free: 13.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004497/0.5834, allocations: 399.5 kB / 0.6066 GB, free: 13.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.5834, allocations: 29.7 kB / 0.6067 GB, free: 13.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.5835, allocations: 188.4 kB / 0.6068 GB, free: 13.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.643e-05/0.5836, allocations: 82.84 kB / 0.6069 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.5836, allocations: 4 kB / 0.6069 GB, free: 13.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5838, allocations: 346.8 kB / 0.6073 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.584, allocations: 99.91 kB / 0.6073 GB, free: 12.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.5841, allocations: 107.1 kB / 0.6074 GB, free: 12.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.5843, allocations: 111.9 kB / 0.6076 GB, free: 12.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5844, allocations: 3.938 kB / 0.6076 GB, free: 12.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005138/0.5849, allocations: 315.8 kB / 0.6079 GB, free: 12.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5849, allocations: 12.78 kB / 0.6079 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5849, allocations: 4 kB / 0.6079 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.5849, allocations: 3.938 kB / 0.6079 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008503/0.5858, allocations: 155.8 kB / 0.608 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/0.5888, allocations: 5.516 MB / 0.6134 GB, free: 6.379 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.5891, allocations: 43.47 kB / 0.6135 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.5892, allocations: 15.92 kB / 0.6135 GB, free: 6.32 MB / 426.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 () * 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.0001025/0.5893, allocations: 112.9 kB / 0.6136 GB, free: 6.203 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.542e-05/0.5894, allocations: 39.48 kB / 0.6136 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007523/0.5901, allocations: 420.4 kB / 0.614 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.5902, allocations: 4 kB / 0.614 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5902, allocations: 0 / 0.614 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5902, allocations: 3.984 kB / 0.614 GB, free: 5.738 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.5907, allocations: 369.3 kB / 0.6144 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.5907, allocations: 4 kB / 0.6144 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007273/0.5914, allocations: 155.8 kB / 0.6145 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.5914, allocations: 3.953 kB / 0.6145 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.5914, allocations: 8 kB / 0.6145 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/0.5946, allocations: 5.512 MB / 0.6199 GB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5946, allocations: 4.312 kB / 0.6199 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005487/0.5951, allocations: 417.9 kB / 0.6203 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.5953, allocations: 124.6 kB / 0.6204 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.5953, allocations: 4 kB / 0.6204 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.5955, allocations: 12 kB / 0.6205 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/0.5956, allocations: 19.97 kB / 0.6205 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.5956, allocations: 11.98 kB / 0.6205 GB, free: 14.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003655/0.596, allocations: 330.1 kB / 0.6208 GB, free: 14.51 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.596, allocations: 4 kB / 0.6208 GB, free: 14.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000412/0.5964, allocations: 107.8 kB / 0.6209 GB, free: 14.4 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 (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.001088/0.5975, allocations: 1.036 MB / 0.6219 GB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.5986, allocations: 339.6 kB / 0.6222 GB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5986, allocations: 3.938 kB / 0.6223 GB, free: 13 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007281/0.5993, allocations: 230.7 kB / 0.6225 GB, free: 12.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.5997, allocations: 81.3 kB / 0.6226 GB, free: 12.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.601, allocations: 0.6846 MB / 0.6232 GB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.6014, allocations: 0.8581 MB / 0.6241 GB, free: 11.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002044/0.6016, allocations: 83.22 kB / 0.6241 GB, free: 11.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.6018, allocations: 111.4 kB / 0.6242 GB, free: 10.9 MB / 442.7 MB Notification: Performance of SimCode: time 4.9e-07/0.6018, allocations: 0 / 0.6242 GB, free: 10.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.6262, allocations: 10.72 MB / 0.6347 GB, free: 444 kB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.6264, allocations: 227.9 kB / 0.6349 GB, free: 208 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/2.956, allocations: 0 / 0.6349 GB, free: 208 kB / 442.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