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.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_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_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.001084/0.001084, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.613/1.613, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.000865/0.0008649, allocations: 96.25 kB / 267.1 MB, free: 9.285 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.4325/0.4325, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.696e-05/4.711e-05, allocations: 0 / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.139, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4449/0.5839, allocations: 93.63 MB / 0.5644 GB, free: 11.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.5842, allocations: 98.42 kB / 0.5645 GB, free: 11.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02557/0.6098, allocations: 10.8 MB / 0.575 GB, free: 2.508 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6098, allocations: 4 kB / 0.575 GB, free: 2.504 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.113e-05/0.6099, allocations: 4 kB / 0.575 GB, free: 2.5 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0009569/0.6108, allocations: 0.6204 MB / 0.5756 GB, free: 1.863 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.6109, allocations: 8.031 kB / 0.5756 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.556e-05/0.611, allocations: 94.02 kB / 0.5757 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.046e-05/0.6111, allocations: 43.44 kB / 0.5758 GB, free: 1.742 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.6115, allocations: 285 kB / 0.576 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.6115, allocations: 26.97 kB / 0.5761 GB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/0.6116, allocations: 38.12 kB / 0.5761 GB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007065/0.6123, allocations: 0.5343 MB / 0.5766 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.6123, allocations: 1.375 kB / 0.5766 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.084e-05/0.6124, allocations: 24.59 kB / 0.5766 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.813e-05/0.6124, allocations: 20.77 kB / 0.5767 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.6129, allocations: 363.8 kB / 0.577 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.6147, allocations: 1.406 MB / 0.5784 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.6152, allocations: 244.8 kB / 0.5786 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.6153, allocations: 112.2 kB / 0.5787 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/0.6154, allocations: 11.36 kB / 0.5787 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.6154, allocations: 34.56 kB / 0.5788 GB, free: 14.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.744e-06/0.6154, allocations: 0 / 0.5788 GB, free: 14.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005806/0.616, allocations: 275.4 kB / 0.579 GB, free: 14.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.6161, allocations: 114.2 kB / 0.5791 GB, free: 14.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005096/0.6166, allocations: 446.9 kB / 0.5796 GB, free: 14.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.6167, allocations: 25.7 kB / 0.5796 GB, free: 14.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.6168, allocations: 208.6 kB / 0.5798 GB, free: 14.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.6169, allocations: 57.84 kB / 0.5798 GB, free: 14.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.6169, allocations: 7.625 kB / 0.5798 GB, free: 14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.6171, allocations: 355 kB / 0.5802 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.6172, allocations: 97.77 kB / 0.5803 GB, free: 13.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.6174, allocations: 144.9 kB / 0.5804 GB, free: 13.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.6176, allocations: 110.3 kB / 0.5805 GB, free: 13.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6176, allocations: 0 / 0.5805 GB, free: 13.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005484/0.6182, allocations: 320.7 kB / 0.5808 GB, free: 13.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.6182, allocations: 9.312 kB / 0.5808 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.05e-05/0.6183, allocations: 27.97 kB / 0.5809 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.6183, allocations: 4 kB / 0.5809 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.6186, allocations: 47.11 kB / 0.5809 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.6186, allocations: 3.984 kB / 0.5809 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.6189, allocations: 66.89 kB / 0.581 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.619, allocations: 12.61 kB / 0.581 GB, free: 12.88 MB / 410.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.0001028/0.6191, allocations: 111.8 kB / 0.5811 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-05/0.6192, allocations: 42.95 kB / 0.5811 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006775/0.6199, allocations: 366.2 kB / 0.5815 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.6199, allocations: 4 kB / 0.5815 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.6199, allocations: 3.953 kB / 0.5815 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.6199, allocations: 0 / 0.5815 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005652/0.6205, allocations: 368.8 kB / 0.5818 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.884e-05/0.6206, allocations: 23.98 kB / 0.5819 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.6207, allocations: 35.66 kB / 0.5819 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.6207, allocations: 4 kB / 0.5819 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.6208, allocations: 11.98 kB / 0.5819 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.6208, allocations: 0 / 0.5819 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.6208, allocations: 3.938 kB / 0.5819 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006306/0.6214, allocations: 0.5415 MB / 0.5825 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.6216, allocations: 128.5 kB / 0.5826 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.6216, allocations: 15.7 kB / 0.5826 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.6219, allocations: 19.98 kB / 0.5826 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.622, allocations: 19.66 kB / 0.5826 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.6221, allocations: 15.98 kB / 0.5826 GB, free: 11.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003798/0.6224, allocations: 366 kB / 0.583 GB, free: 10.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6225, allocations: 0 / 0.583 GB, free: 10.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005698/0.623, allocations: 131 kB / 0.5831 GB, free: 10.8 MB / 410.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.001184/0.6242, allocations: 1.311 MB / 0.5844 GB, free: 9.484 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005844/0.6248, allocations: 471.4 kB / 0.5848 GB, free: 8.992 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6248, allocations: 0 / 0.5848 GB, free: 8.992 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.6252, allocations: 361.1 kB / 0.5852 GB, free: 8.602 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.6257, allocations: 91.31 kB / 0.5853 GB, free: 8.535 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.6273, allocations: 0.7355 MB / 0.586 GB, free: 7.812 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.6278, allocations: 0.8512 MB / 0.5868 GB, free: 6.938 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.628, allocations: 67.23 kB / 0.5869 GB, free: 6.871 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.6281, allocations: 102.5 kB / 0.587 GB, free: 6.84 MB / 410.7 MB Notification: Performance of SimCode: time 6.42e-07/0.6281, allocations: 0 / 0.587 GB, free: 6.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.6528, allocations: 10.93 MB / 0.5977 GB, free: 12 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.653, allocations: 196.4 kB / 0.5978 GB, free: 11.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/2.828, allocations: 4 kB / 0.5979 GB, free: 11.76 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar.fmu > ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat