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.001075/0.001075, allocations: 177.2 kB / 8.005 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.736/1.736, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0008974/0.0008973, allocations: 82.2 kB / 261.7 MB, free: 1.691 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.2372/0.2372, allocations: 43.48 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.463e-05/1.466e-05, allocations: 0 / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 58.86 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4007/0.505, allocations: 96.14 MB / 0.5599 GB, free: 14.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5054, allocations: 91.03 kB / 0.56 GB, free: 14.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05586/0.5612, allocations: 14.18 MB / 0.5739 GB, free: 2.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5613, allocations: 3.938 kB / 0.5739 GB, free: 2.977 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.5613, allocations: 4 kB / 0.5739 GB, free: 2.973 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.001296/0.5626, allocations: 0.5964 MB / 0.5745 GB, free: 2.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.5627, allocations: 12.03 kB / 0.5745 GB, free: 2.344 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.5628, allocations: 42.97 kB / 0.5745 GB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/0.5633, allocations: 280.5 kB / 0.5748 GB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.5634, allocations: 12 kB / 0.5748 GB, free: 1.984 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/0.5634, allocations: 24 kB / 0.5748 GB, free: 1.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001011/0.5645, allocations: 487.4 kB / 0.5753 GB, free: 1.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.5655, allocations: 470.3 kB / 0.5757 GB, free: 1.238 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.5655, allocations: 0 / 0.5757 GB, free: 1.238 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.5656, allocations: 0 / 0.5757 GB, free: 1.238 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.455e-05/0.5657, allocations: 36.48 kB / 0.5758 GB, free: 1.207 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.5679, allocations: 1.048 MB / 0.5768 GB, free: 248 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008174/0.5688, allocations: 421.5 kB / 0.5772 GB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.5691, allocations: 142.9 kB / 0.5773 GB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.06e-05/0.5691, allocations: 10.97 kB / 0.5773 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.5691, allocations: 30.8 kB / 0.5774 GB, free: 15.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.954e-06/0.5691, allocations: 0 / 0.5774 GB, free: 15.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008204/0.57, allocations: 333.6 kB / 0.5777 GB, free: 15.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.57, allocations: 59.39 kB / 0.5777 GB, free: 15.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.5702, allocations: 128.5 kB / 0.5779 GB, free: 15.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.5702, allocations: 29.64 kB / 0.5779 GB, free: 15.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.5704, allocations: 204.4 kB / 0.5781 GB, free: 14.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.457e-05/0.5704, allocations: 92.84 kB / 0.5782 GB, free: 14.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.5705, allocations: 0 / 0.5782 GB, free: 14.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5706, allocations: 333.5 kB / 0.5785 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.5708, allocations: 111.9 kB / 0.5786 GB, free: 14.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.571, allocations: 115.3 kB / 0.5787 GB, free: 14.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.5712, allocations: 141.7 kB / 0.5788 GB, free: 14.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5712, allocations: 0 / 0.5788 GB, free: 14.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004935/0.5717, allocations: 327.7 kB / 0.5791 GB, free: 13.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5717, allocations: 4 kB / 0.5792 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5717, allocations: 0 / 0.5792 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.5717, allocations: 0 / 0.5792 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008218/0.5726, allocations: 162.9 kB / 0.5793 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003484/0.5761, allocations: 5.543 MB / 0.5847 GB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.5763, allocations: 23.77 kB / 0.5847 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.5763, allocations: 15.48 kB / 0.5848 GB, free: 8.07 MB / 394.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.0001179/0.5764, allocations: 113.1 kB / 0.5849 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000502/0.577, allocations: 325.2 kB / 0.5852 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.577, allocations: 15.81 kB / 0.5852 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000783/0.5778, allocations: 434 kB / 0.5856 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.5778, allocations: 4 kB / 0.5856 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5778, allocations: 0 / 0.5856 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.5778, allocations: 3.984 kB / 0.5856 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005697/0.5784, allocations: 335.5 kB / 0.5859 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5784, allocations: 0 / 0.5859 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007306/0.5792, allocations: 167.1 kB / 0.5861 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.5792, allocations: 0 / 0.5861 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.5792, allocations: 7.984 kB / 0.5861 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003056/0.5823, allocations: 5.547 MB / 0.5915 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.5823, allocations: 0 / 0.5915 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.5829, allocations: 432.7 kB / 0.5919 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-05/0.583, allocations: 92.86 kB / 0.592 GB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.583, allocations: 0 / 0.592 GB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.5832, allocations: 20.03 kB / 0.592 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.5833, allocations: 27.53 kB / 0.5921 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.5833, allocations: 15.73 kB / 0.5921 GB, free: 500 kB / 394.7 MB Notification: Performance of sorting global known variables: time 8.978e-05/0.5834, allocations: 111.3 kB / 0.5922 GB, free: 396 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5834, allocations: 0 / 0.5922 GB, free: 396 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007303/0.5842, allocations: 167.1 kB / 0.5923 GB, free: 232 kB / 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.00141/0.5856, allocations: 1.116 MB / 0.5934 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.5868, allocations: 372.7 kB / 0.5938 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5868, allocations: 0 / 0.5938 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007108/0.5875, allocations: 241.7 kB / 0.594 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.5878, allocations: 23.61 kB / 0.594 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.5892, allocations: 0.6757 MB / 0.5947 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.5897, allocations: 0.8674 MB / 0.5955 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001838/0.5899, allocations: 65.78 kB / 0.5956 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.59, allocations: 111.1 kB / 0.5957 GB, free: 12.88 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.59, allocations: 0 / 0.5957 GB, free: 12.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.6171, allocations: 7.335 MB / 0.6029 GB, free: 5.547 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/0.6174, allocations: 188.1 kB / 0.6031 GB, free: 5.352 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/2.597, allocations: 3.234 kB / 0.6031 GB, free: 5.352 MB / 410.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