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_overall_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_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001536/0.001537, allocations: 183.3 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009447/0.000945, allocations: 98.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2369/0.2369, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003138, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1338, allocations: 58.86 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4256/0.5595, allocations: 96.89 MB / 0.5735 GB, free: 2.812 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.5598, allocations: 101.4 kB / 0.5736 GB, free: 2.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04063/0.6005, allocations: 14.35 MB / 0.5876 GB, free: 6.348 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.6005, allocations: 3.938 kB / 0.5876 GB, free: 6.344 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.6005, allocations: 4 kB / 0.5876 GB, free: 6.34 MB / 394.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.0009465/0.6015, allocations: 0.6176 MB / 0.5882 GB, free: 5.695 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.6015, allocations: 12.02 kB / 0.5882 GB, free: 5.684 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.607e-05/0.6016, allocations: 81.09 kB / 0.5883 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.324e-05/0.6017, allocations: 39.53 kB / 0.5883 GB, free: 5.578 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.6021, allocations: 281.2 kB / 0.5886 GB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.6021, allocations: 39.73 kB / 0.5886 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/0.6022, allocations: 37 kB / 0.5887 GB, free: 5.223 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008035/0.603, allocations: 0.5337 MB / 0.5892 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.603, allocations: 7.984 kB / 0.5892 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.6031, allocations: 10.38 kB / 0.5892 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-05/0.6031, allocations: 36.67 kB / 0.5893 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008911/0.604, allocations: 0.577 MB / 0.5898 GB, free: 4.316 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.6059, allocations: 1.205 MB / 0.591 GB, free: 3.219 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005984/0.6065, allocations: 376 kB / 0.5914 GB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.6065, allocations: 8.172 kB / 0.5914 GB, free: 2.871 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.6065, allocations: 37.94 kB / 0.5914 GB, free: 2.828 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.6066, allocations: 0 / 0.5914 GB, free: 2.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.000936/0.6075, allocations: 476.3 kB / 0.5919 GB, free: 2.398 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.6075, allocations: 62.83 kB / 0.5919 GB, free: 2.328 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/0.608, allocations: 400.6 kB / 0.5923 GB, free: 1.992 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.608, allocations: 33.58 kB / 0.5923 GB, free: 1.957 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.6081, allocations: 184.8 kB / 0.5925 GB, free: 1.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/0.6082, allocations: 78.22 kB / 0.5926 GB, free: 1.762 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.6082, allocations: 3.938 kB / 0.5926 GB, free: 1.762 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.6084, allocations: 350 kB / 0.5929 GB, free: 1.426 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.6086, allocations: 127.4 kB / 0.593 GB, free: 1.312 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.6089, allocations: 119.6 kB / 0.5932 GB, free: 1.207 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.6091, allocations: 135.3 kB / 0.5933 GB, free: 1.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6091, allocations: 3.938 kB / 0.5933 GB, free: 1.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005946/0.6097, allocations: 347.9 kB / 0.5936 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.6097, allocations: 4 kB / 0.5936 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6098, allocations: 0 / 0.5936 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6098, allocations: 0 / 0.5936 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007825/0.6106, allocations: 159.8 kB / 0.5938 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.6136, allocations: 5.508 MB / 0.5992 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.6138, allocations: 55.17 kB / 0.5992 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.6139, allocations: 15.42 kB / 0.5992 GB, free: 10.9 MB / 410.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.0002366/0.6141, allocations: 188.8 kB / 0.5994 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.6142, allocations: 39.5 kB / 0.5994 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008746/0.6151, allocations: 457.5 kB / 0.5999 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.6151, allocations: 11.97 kB / 0.5999 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6151, allocations: 0 / 0.5999 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.6151, allocations: 0 / 0.5999 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.6156, allocations: 374.8 kB / 0.6002 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6156, allocations: 0 / 0.6002 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000692/0.6163, allocations: 155.8 kB / 0.6004 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.6163, allocations: 4 kB / 0.6004 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.6164, allocations: 11.92 kB / 0.6004 GB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00349/0.6199, allocations: 5.516 MB / 0.6058 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6199, allocations: 0 / 0.6058 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007518/0.6206, allocations: 463 kB / 0.6062 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.6208, allocations: 116.6 kB / 0.6063 GB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/0.6209, allocations: 7.938 kB / 0.6064 GB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.6211, allocations: 7.562 kB / 0.6064 GB, free: 3.508 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.6212, allocations: 19.97 kB / 0.6064 GB, free: 3.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.6212, allocations: 15.55 kB / 0.6064 GB, free: 3.477 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003725/0.6216, allocations: 329.5 kB / 0.6067 GB, free: 3.215 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6216, allocations: 0 / 0.6067 GB, free: 3.215 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006261/0.6222, allocations: 150.6 kB / 0.6069 GB, free: 3.078 MB / 410.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.00131/0.6235, allocations: 1.135 MB / 0.608 GB, free: 1.957 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.6247, allocations: 383.6 kB / 0.6083 GB, free: 1.609 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.6247, allocations: 0 / 0.6083 GB, free: 1.609 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007316/0.6254, allocations: 246.4 kB / 0.6086 GB, free: 1.383 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.6258, allocations: 78.69 kB / 0.6086 GB, free: 1.324 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/0.63, allocations: 2.639 MB / 0.6112 GB, free: 15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007927/0.6308, allocations: 0.8671 MB / 0.6121 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000272/0.6311, allocations: 83.22 kB / 0.6121 GB, free: 14.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.6313, allocations: 105.7 kB / 0.6122 GB, free: 13.99 MB / 426.7 MB Notification: Performance of SimCode: time 2.234e-06/0.6313, allocations: 0 / 0.6122 GB, free: 13.99 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.6623, allocations: 11.98 MB / 0.6239 GB, free: 2.074 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/0.6626, allocations: 246.9 kB / 0.6242 GB, free: 1.742 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/3.033, allocations: 0 / 0.6242 GB, free: 1.742 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall_KC_res.mat does not exist to compare? outputFormat=mat