Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",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.002427/0.002427, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.177/2.177, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001137/0.001136, allocations: 90.64 kB / 267.5 MB, free: 14.11 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.294/0.294, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.652e-05/4.679e-05, allocations: 4 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1601, allocations: 58.85 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5897/0.7498, allocations: 93.64 MB / 0.5644 GB, free: 9.867 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000574/0.7505, allocations: 94.12 kB / 0.5644 GB, free: 9.812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08004/0.8305, allocations: 10.79 MB / 0.575 GB, free: 400 kB / 378.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.8306, allocations: 0 / 0.575 GB, free: 400 kB / 378.7 MB Notification: Performance of Transformations before backend: time 2.795e-05/0.8307, allocations: 4 kB / 0.575 GB, free: 396 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002143/0.8328, allocations: 0.6273 MB / 0.5756 GB, free: 15.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.205e-05/0.8329, allocations: 12.03 kB / 0.5756 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002268/0.8332, allocations: 79.47 kB / 0.5757 GB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.8334, allocations: 47.39 kB / 0.5757 GB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008297/0.8342, allocations: 281.3 kB / 0.576 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.639e-05/0.8343, allocations: 23.34 kB / 0.576 GB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.8345, allocations: 46.88 kB / 0.5761 GB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/0.8364, allocations: 0.5407 MB / 0.5766 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.8365, allocations: 0 / 0.5766 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.722e-05/0.8366, allocations: 18.38 kB / 0.5766 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.555e-05/0.8367, allocations: 20.78 kB / 0.5766 GB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.8383, allocations: 373.4 kB / 0.577 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004847/0.8432, allocations: 1.409 MB / 0.5784 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.8442, allocations: 240.5 kB / 0.5786 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005109/0.8448, allocations: 113.9 kB / 0.5787 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.053e-05/0.8449, allocations: 4 kB / 0.5787 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/0.8449, allocations: 34.56 kB / 0.5787 GB, free: 12.83 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 5.48e-06/0.845, allocations: 0 / 0.5787 GB, free: 12.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001544/0.8465, allocations: 283.8 kB / 0.579 GB, free: 12.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.8467, allocations: 105.9 kB / 0.5791 GB, free: 12.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.848, allocations: 455.9 kB / 0.5795 GB, free: 12.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.011e-05/0.8481, allocations: 25.7 kB / 0.5796 GB, free: 12.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.8484, allocations: 241 kB / 0.5798 GB, free: 11.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.8486, allocations: 65.39 kB / 0.5799 GB, free: 11.81 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.8486, allocations: 7.75 kB / 0.5799 GB, free: 11.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.8488, allocations: 314.8 kB / 0.5802 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005045/0.8494, allocations: 99.36 kB / 0.5803 GB, free: 11.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/0.85, allocations: 143.5 kB / 0.5804 GB, free: 11.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005841/0.8506, allocations: 117.8 kB / 0.5805 GB, free: 11.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/0.8506, allocations: 4 kB / 0.5805 GB, free: 11.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001457/0.8521, allocations: 290 kB / 0.5808 GB, free: 10.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.8522, allocations: 4 kB / 0.5808 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/0.8524, allocations: 31.97 kB / 0.5808 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.8524, allocations: 0 / 0.5808 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/0.8531, allocations: 48.02 kB / 0.5809 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.8531, allocations: 4 kB / 0.5809 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008902/0.854, allocations: 67.16 kB / 0.5809 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.826e-05/0.8541, allocations: 8 kB / 0.5809 GB, free: 10.73 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002177/0.8544, allocations: 119.1 kB / 0.5811 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/0.8546, allocations: 43.45 kB / 0.5811 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.8565, allocations: 352.2 kB / 0.5814 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/0.8565, allocations: 7.984 kB / 0.5814 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.8566, allocations: 3.953 kB / 0.5815 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.8566, allocations: 4 kB / 0.5815 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.858, allocations: 359.5 kB / 0.5818 GB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001566/0.8582, allocations: 39.59 kB / 0.5818 GB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/0.8587, allocations: 27.97 kB / 0.5819 GB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.8587, allocations: 0 / 0.5819 GB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/0.8588, allocations: 8 kB / 0.5819 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/0.8588, allocations: 3.984 kB / 0.5819 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/0.8589, allocations: 11.88 kB / 0.5819 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.8604, allocations: 0.5369 MB / 0.5824 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/0.8608, allocations: 120.6 kB / 0.5825 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.8609, allocations: 7.203 kB / 0.5825 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008571/0.8618, allocations: 35.28 kB / 0.5826 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.862, allocations: 19.97 kB / 0.5826 GB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.461e-05/0.8621, allocations: 11.19 kB / 0.5826 GB, free: 9.062 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001075/0.8632, allocations: 367.1 kB / 0.5829 GB, free: 8.773 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.8632, allocations: 0 / 0.5829 GB, free: 8.773 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001403/0.8646, allocations: 127.1 kB / 0.5831 GB, free: 8.656 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002753/0.8674, allocations: 1.313 MB / 0.5843 GB, free: 7.336 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001545/0.869, allocations: 483.7 kB / 0.5848 GB, free: 6.836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.8691, allocations: 0 / 0.5848 GB, free: 6.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008318/0.8699, allocations: 352.4 kB / 0.5851 GB, free: 6.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.8713, allocations: 92.25 kB / 0.5852 GB, free: 6.383 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/0.8754, allocations: 0.7533 MB / 0.586 GB, free: 5.633 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008623/0.8763, allocations: 0.8513 MB / 0.5868 GB, free: 4.766 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/0.8767, allocations: 106.2 kB / 0.5869 GB, free: 4.734 MB / 394.7 MB Notification: Performance of SimCode: time 1.573e-06/0.8768, allocations: 0 / 0.5869 GB, free: 4.734 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.836/3.712, allocations: 8.854 MB / 0.5955 GB, free: 11.92 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat