Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000794/0.000794, allocations: 86.62 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.212/0.212, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.947e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1376, allocations: 58.85 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.417/0.5547, allocations: 91.09 MB / 0.555 GB, free: 3.965 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.5549, allocations: 103 kB / 0.5551 GB, free: 3.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02359/0.5786, allocations: 9.278 MB / 0.5642 GB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5786, allocations: 4 kB / 0.5642 GB, free: 12.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.5786, allocations: 8 kB / 0.5642 GB, free: 12.04 MB / 378.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.0007897/0.5794, allocations: 0.5646 MB / 0.5647 GB, free: 11.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.5795, allocations: 8.031 kB / 0.5647 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.57e-05/0.5796, allocations: 39.53 kB / 0.5648 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.5799, allocations: 277.4 kB / 0.565 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.5799, allocations: 16 kB / 0.565 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.58, allocations: 24 kB / 0.5651 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007038/0.5807, allocations: 493.3 kB / 0.5655 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006455/0.5813, allocations: 471.2 kB / 0.566 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.5814, allocations: 3.938 kB / 0.566 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.5814, allocations: 0 / 0.566 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.117e-05/0.5815, allocations: 29.3 kB / 0.566 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.5832, allocations: 1.059 MB / 0.5671 GB, free: 9.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006155/0.5839, allocations: 412.9 kB / 0.5674 GB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.5841, allocations: 132.8 kB / 0.5676 GB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.237e-05/0.5841, allocations: 19.2 kB / 0.5676 GB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.5842, allocations: 35.73 kB / 0.5676 GB, free: 8.793 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.974e-06/0.5842, allocations: 0 / 0.5676 GB, free: 8.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006199/0.5848, allocations: 334.2 kB / 0.5679 GB, free: 8.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.5849, allocations: 59.34 kB / 0.568 GB, free: 8.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.585, allocations: 130.7 kB / 0.5681 GB, free: 8.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.585, allocations: 25.7 kB / 0.5681 GB, free: 8.266 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.5852, allocations: 205.9 kB / 0.5683 GB, free: 8.082 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.423e-05/0.5853, allocations: 92.16 kB / 0.5684 GB, free: 8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.669e-05/0.5853, allocations: 0 / 0.5684 GB, free: 8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5854, allocations: 324.8 kB / 0.5687 GB, free: 7.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.5856, allocations: 116.6 kB / 0.5689 GB, free: 7.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.5858, allocations: 117.1 kB / 0.569 GB, free: 7.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.586, allocations: 133.2 kB / 0.5691 GB, free: 7.359 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.586, allocations: 0 / 0.5691 GB, free: 7.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004663/0.5865, allocations: 332 kB / 0.5694 GB, free: 7.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.5865, allocations: 4 kB / 0.5694 GB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.5865, allocations: 0 / 0.5694 GB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.5865, allocations: 8 kB / 0.5694 GB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008292/0.5874, allocations: 155.8 kB / 0.5696 GB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003156/0.5905, allocations: 5.545 MB / 0.575 GB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.5908, allocations: 23.77 kB / 0.575 GB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.5908, allocations: 11.5 kB / 0.575 GB, free: 1.176 MB / 378.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 (28): * Single equations (assignments): 19 * 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.0001414/0.591, allocations: 112.9 kB / 0.5751 GB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005059/0.5915, allocations: 319.4 kB / 0.5754 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.5915, allocations: 15.81 kB / 0.5754 GB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007092/0.5922, allocations: 443.7 kB / 0.5759 GB, free: 364 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5922, allocations: 0 / 0.5759 GB, free: 364 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5923, allocations: 4 kB / 0.5759 GB, free: 360 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.366e-05/0.5923, allocations: 3.984 kB / 0.5759 GB, free: 356 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.5928, allocations: 340 kB / 0.5762 GB, free: 16 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.5928, allocations: 3.938 kB / 0.5762 GB, free: 12 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007526/0.5935, allocations: 155 kB / 0.5764 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.5935, allocations: 0 / 0.5764 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.5936, allocations: 8 kB / 0.5764 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002983/0.5966, allocations: 5.553 MB / 0.5818 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5966, allocations: 0 / 0.5818 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.5971, allocations: 441.5 kB / 0.5822 GB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.97e-05/0.5972, allocations: 92.86 kB / 0.5823 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.5973, allocations: 4 kB / 0.5823 GB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.5975, allocations: 11.94 kB / 0.5823 GB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.5975, allocations: 19.97 kB / 0.5823 GB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.5976, allocations: 15.36 kB / 0.5823 GB, free: 9.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.912e-05/0.5976, allocations: 107.5 kB / 0.5824 GB, free: 9.492 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5976, allocations: 4 kB / 0.5824 GB, free: 9.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004879/0.5981, allocations: 126.9 kB / 0.5826 GB, free: 9.367 MB / 394.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 (28): * Single equations (assignments): 19 * 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.001019/0.5992, allocations: 1.033 MB / 0.5836 GB, free: 8.344 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009753/0.6002, allocations: 370 kB / 0.5839 GB, free: 8.012 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6002, allocations: 0 / 0.5839 GB, free: 8.012 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006871/0.6009, allocations: 244.9 kB / 0.5842 GB, free: 7.789 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.6011, allocations: 19.19 kB / 0.5842 GB, free: 7.773 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.6023, allocations: 0.6487 MB / 0.5848 GB, free: 7.121 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.6028, allocations: 0.8641 MB / 0.5857 GB, free: 6.234 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002029/0.603, allocations: 65.78 kB / 0.5857 GB, free: 6.168 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.6031, allocations: 108.8 kB / 0.5858 GB, free: 6.141 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.6031, allocations: 0 / 0.5858 GB, free: 6.141 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.6346, allocations: 6.347 MB / 0.592 GB, free: 15.8 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/0.6348, allocations: 188 kB / 0.5922 GB, free: 15.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.477, allocations: 2.406 kB / 0.5922 GB, free: 15.6 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat