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_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_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_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.001511/0.001511, allocations: 183 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.738/1.738, 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.0008611/0.0008611, allocations: 97.84 kB / 267.1 MB, free: 9.273 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.3908/0.3908, allocations: 43.47 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.502e-05/4.516e-05, allocations: 4 kB / 425.4 MB, free: 8.758 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1462, allocations: 58.83 MB / 484.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3981/0.5443, allocations: 91.76 MB / 0.5625 GB, free: 13.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.5446, allocations: 95.92 kB / 0.5626 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02689/0.5715, allocations: 9.419 MB / 0.5718 GB, free: 3.527 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5716, allocations: 0 / 0.5718 GB, free: 3.527 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.5716, allocations: 4 kB / 0.5718 GB, free: 3.523 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.0008218/0.5724, allocations: 0.5721 MB / 0.5724 GB, free: 2.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.5725, allocations: 8.031 kB / 0.5724 GB, free: 2.902 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.5726, allocations: 90.52 kB / 0.5725 GB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/0.5727, allocations: 42.91 kB / 0.5725 GB, free: 2.766 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.5731, allocations: 275.5 kB / 0.5728 GB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.5731, allocations: 36.7 kB / 0.5728 GB, free: 2.422 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.108e-05/0.5732, allocations: 36 kB / 0.5728 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008337/0.574, allocations: 0.5202 MB / 0.5734 GB, free: 1.871 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.5741, allocations: 0 / 0.5734 GB, free: 1.871 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.5741, allocations: 16 kB / 0.5734 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.909e-05/0.5742, allocations: 34.36 kB / 0.5734 GB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008221/0.575, allocations: 0.5348 MB / 0.5739 GB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.5769, allocations: 1.202 MB / 0.5751 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/0.5775, allocations: 356.1 kB / 0.5754 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.5777, allocations: 121.1 kB / 0.5756 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.5778, allocations: 12.17 kB / 0.5756 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.5778, allocations: 34.75 kB / 0.5756 GB, free: 15.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.5778, allocations: 0 / 0.5756 GB, free: 15.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006127/0.5784, allocations: 317 kB / 0.5759 GB, free: 15.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.5785, allocations: 59.39 kB / 0.576 GB, free: 15.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.579, allocations: 395.5 kB / 0.5763 GB, free: 14.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.579, allocations: 29.7 kB / 0.5764 GB, free: 14.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.5792, allocations: 188.4 kB / 0.5765 GB, free: 14.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.452e-05/0.5793, allocations: 74.86 kB / 0.5766 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/0.5793, allocations: 8 kB / 0.5766 GB, free: 14.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.5796, allocations: 354.8 kB / 0.577 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.5798, allocations: 95.91 kB / 0.5771 GB, free: 13.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.58, allocations: 111.6 kB / 0.5772 GB, free: 13.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.5802, allocations: 111.9 kB / 0.5773 GB, free: 13.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5802, allocations: 0 / 0.5773 GB, free: 13.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005116/0.5807, allocations: 309 kB / 0.5776 GB, free: 13.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.5807, allocations: 8 kB / 0.5776 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.5807, allocations: 0 / 0.5776 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.5808, allocations: 4 kB / 0.5776 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/0.5816, allocations: 155.9 kB / 0.5777 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.5853, allocations: 5.52 MB / 0.5831 GB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.5856, allocations: 51.45 kB / 0.5832 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.5856, allocations: 4 kB / 0.5832 GB, free: 7.5 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 () * 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.0001338/0.5857, allocations: 116.9 kB / 0.5833 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.021e-05/0.5858, allocations: 31.62 kB / 0.5833 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008385/0.5867, allocations: 429.8 kB / 0.5837 GB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.5867, allocations: 12.03 kB / 0.5837 GB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.909e-05/0.5867, allocations: 3.984 kB / 0.5837 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.5867, allocations: 0 / 0.5837 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.5872, allocations: 373.2 kB / 0.5841 GB, free: 6.496 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.495e-05/0.5873, allocations: 4 kB / 0.5841 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007228/0.588, allocations: 151.9 kB / 0.5842 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.588, allocations: 0 / 0.5842 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.588, allocations: 11.98 kB / 0.5842 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003204/0.5912, allocations: 5.516 MB / 0.5896 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5913, allocations: 4 kB / 0.5896 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005764/0.5919, allocations: 423.2 kB / 0.59 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.592, allocations: 120.6 kB / 0.5902 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/0.592, allocations: 0 / 0.5902 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.5922, allocations: 19.92 kB / 0.5902 GB, free: 16 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.855e-05/0.5923, allocations: 24.02 kB / 0.5902 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.5924, allocations: 4 kB / 0.5902 GB, free: 15.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000359/0.5927, allocations: 326 kB / 0.5905 GB, free: 15.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5928, allocations: 4 kB / 0.5905 GB, free: 15.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004199/0.5932, allocations: 111.8 kB / 0.5906 GB, free: 15.55 MB / 426.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 (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.001159/0.5943, allocations: 1.021 MB / 0.5916 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.5955, allocations: 339.6 kB / 0.5919 GB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5955, allocations: 0 / 0.5919 GB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007858/0.5963, allocations: 227.7 kB / 0.5922 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.5968, allocations: 87.12 kB / 0.5922 GB, free: 13.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.5983, allocations: 0.6886 MB / 0.5929 GB, free: 13.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/0.5988, allocations: 0.8619 MB / 0.5938 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002547/0.5991, allocations: 83.22 kB / 0.5938 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.5993, allocations: 111.4 kB / 0.5939 GB, free: 12.07 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5993, allocations: 0 / 0.5939 GB, free: 12.07 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.629, allocations: 10.73 MB / 0.6044 GB, free: 1.43 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/0.6293, allocations: 238.2 kB / 0.6046 GB, free: 1.188 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.427/3.056, allocations: 3.953 kB / 0.6047 GB, free: 1.184 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC_res.mat does not exist to compare? outputFormat=mat