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_turbulent.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_turbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",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.002348/0.002348, allocations: 178 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001108, allocations: 93.83 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2938/0.2938, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.694e-05/2.693e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4061, allocations: 58.85 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1744/0.5806, allocations: 92.18 MB / 0.556 GB, free: 7.023 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/0.581, allocations: 95.94 kB / 0.5561 GB, free: 6.93 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04884/0.6299, allocations: 10.52 MB / 0.5664 GB, free: 12.24 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6299, allocations: 4 kB / 0.5664 GB, free: 12.23 MB / 411.1 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.6299, allocations: 4 kB / 0.5664 GB, free: 12.23 MB / 411.1 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.001395/0.6314, allocations: 0.6198 MB / 0.567 GB, free: 11.57 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.6314, allocations: 8.031 kB / 0.567 GB, free: 11.56 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.6316, allocations: 47.44 kB / 0.5671 GB, free: 11.51 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/0.6321, allocations: 282.2 kB / 0.5673 GB, free: 11.2 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.6322, allocations: 12 kB / 0.5673 GB, free: 11.18 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.288e-05/0.6323, allocations: 27.92 kB / 0.5674 GB, free: 11.16 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009015/0.6332, allocations: 333.9 kB / 0.5677 GB, free: 10.83 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.6343, allocations: 498.5 kB / 0.5682 GB, free: 10.33 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.6344, allocations: 4 kB / 0.5682 GB, free: 10.32 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/0.6344, allocations: 0 / 0.5682 GB, free: 10.32 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.427e-05/0.6345, allocations: 16.78 kB / 0.5682 GB, free: 10.31 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003002/0.6375, allocations: 1.245 MB / 0.5694 GB, free: 9.012 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005975/0.6382, allocations: 243.6 kB / 0.5696 GB, free: 8.746 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.6385, allocations: 103.3 kB / 0.5697 GB, free: 8.637 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-05/0.6386, allocations: 7.984 kB / 0.5697 GB, free: 8.629 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.6386, allocations: 38.5 kB / 0.5698 GB, free: 8.582 MB / 411.1 MB Notification: Performance of pre-optimization done (n=17): time 3.687e-06/0.6386, allocations: 4 kB / 0.5698 GB, free: 8.578 MB / 411.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009048/0.6395, allocations: 249.2 kB / 0.57 GB, free: 8.328 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/0.6396, allocations: 110.8 kB / 0.5701 GB, free: 8.195 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.6399, allocations: 187.2 kB / 0.5703 GB, free: 8.004 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.64, allocations: 25.7 kB / 0.5703 GB, free: 7.973 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.6402, allocations: 278.4 kB / 0.5706 GB, free: 7.695 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.943e-05/0.6403, allocations: 63.09 kB / 0.5707 GB, free: 7.633 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.6403, allocations: 64 / 0.5707 GB, free: 7.633 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.6405, allocations: 318.8 kB / 0.571 GB, free: 7.312 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.6408, allocations: 96.09 kB / 0.5711 GB, free: 7.215 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.6412, allocations: 137.4 kB / 0.5712 GB, free: 7.062 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.6415, allocations: 108 kB / 0.5713 GB, free: 6.957 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.6416, allocations: 7.875 kB / 0.5713 GB, free: 6.949 MB / 411.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008515/0.6424, allocations: 273.3 kB / 0.5716 GB, free: 6.676 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.6425, allocations: 8 kB / 0.5716 GB, free: 6.668 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/0.6426, allocations: 27.97 kB / 0.5716 GB, free: 6.641 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.6426, allocations: 4 kB / 0.5716 GB, free: 6.637 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.643, allocations: 44.06 kB / 0.5716 GB, free: 6.594 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.6431, allocations: 3.984 kB / 0.5716 GB, free: 6.59 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.6435, allocations: 35.78 kB / 0.5717 GB, free: 6.555 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.6435, allocations: 15.98 kB / 0.5717 GB, free: 6.539 MB / 411.1 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.0001389/0.6437, allocations: 109 kB / 0.5718 GB, free: 6.426 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008673/0.6446, allocations: 253.2 kB / 0.572 GB, free: 6.172 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.6447, allocations: 15.81 kB / 0.572 GB, free: 6.156 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.6458, allocations: 338.8 kB / 0.5724 GB, free: 5.824 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.6458, allocations: 0 / 0.5724 GB, free: 5.824 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.6458, allocations: 7.953 kB / 0.5724 GB, free: 5.816 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.311e-06/0.6458, allocations: 0 / 0.5724 GB, free: 5.816 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008116/0.6466, allocations: 321.9 kB / 0.5727 GB, free: 5.465 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-05/0.6468, allocations: 36.03 kB / 0.5727 GB, free: 5.43 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.6471, allocations: 27.97 kB / 0.5727 GB, free: 5.402 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.6471, allocations: 4 kB / 0.5727 GB, free: 5.398 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/0.6472, allocations: 7.984 kB / 0.5728 GB, free: 5.391 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.6472, allocations: 7.938 kB / 0.5728 GB, free: 5.383 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.6472, allocations: 0 / 0.5728 GB, free: 5.383 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009172/0.6481, allocations: 0.5221 MB / 0.5733 GB, free: 4.832 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.6483, allocations: 96.84 kB / 0.5734 GB, free: 4.719 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/0.6483, allocations: 4 kB / 0.5734 GB, free: 4.715 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.6488, allocations: 27.94 kB / 0.5734 GB, free: 4.688 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.6489, allocations: 23.95 kB / 0.5734 GB, free: 4.664 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/0.649, allocations: 8 kB / 0.5734 GB, free: 4.656 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.6492, allocations: 149.5 kB / 0.5736 GB, free: 4.512 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6492, allocations: 0 / 0.5736 GB, free: 4.512 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.001078/0.6503, allocations: 131.5 kB / 0.5737 GB, free: 4.383 MB / 411.1 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.001854/0.6522, allocations: 1.297 MB / 0.575 GB, free: 3.051 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.6535, allocations: 459.1 kB / 0.5754 GB, free: 2.547 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.6536, allocations: 0 / 0.5754 GB, free: 2.547 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000525/0.6541, allocations: 355.2 kB / 0.5757 GB, free: 2.145 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.6547, allocations: 27.84 kB / 0.5758 GB, free: 2.117 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.6577, allocations: 0.6849 MB / 0.5764 GB, free: 1.383 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/0.6584, allocations: 0.8526 MB / 0.5773 GB, free: 0.5039 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.6587, allocations: 111.4 kB / 0.5774 GB, free: 404 kB / 411.1 MB Notification: Performance of SimCode: time 1.643e-06/0.6588, allocations: 0 / 0.5774 GB, free: 404 kB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.727/3.386, allocations: 7.078 MB / 0.5843 GB, free: 9.316 MB / 427.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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_turbulent_res.mat does not exist to compare? outputFormat=mat