Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_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.001198/0.001198, allocations: 176.1 kB / 8.004 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.707/1.707, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.000924/0.000924, allocations: 86.62 kB / 261.8 MB, free: 1.68 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.218/0.218, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.497e-05, allocations: 4 kB / 418.4 MB, free: 28.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1531, allocations: 58.86 MB / 477.2 MB, free: 1.504 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4093/0.5624, allocations: 92.62 MB / 0.5565 GB, free: 2.391 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5628, allocations: 98.66 kB / 0.5566 GB, free: 2.336 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02985/0.5926, allocations: 11.65 MB / 0.568 GB, free: 8.496 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5927, allocations: 0 / 0.568 GB, free: 8.496 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.5927, allocations: 8 kB / 0.568 GB, free: 8.488 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.0008864/0.5936, allocations: 0.6188 MB / 0.5686 GB, free: 7.852 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.5936, allocations: 8.031 kB / 0.5686 GB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.352e-05/0.5937, allocations: 47.44 kB / 0.5686 GB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.5941, allocations: 294.1 kB / 0.5689 GB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.5941, allocations: 16 kB / 0.5689 GB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/0.5942, allocations: 27.98 kB / 0.569 GB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007467/0.5949, allocations: 0.581 MB / 0.5695 GB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/0.5957, allocations: 0.5517 MB / 0.5701 GB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.5957, allocations: 0 / 0.5701 GB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.5958, allocations: 3.984 kB / 0.5701 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.705e-05/0.5958, allocations: 48.36 kB / 0.5701 GB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.5977, allocations: 1.227 MB / 0.5713 GB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006554/0.5984, allocations: 0.4984 MB / 0.5718 GB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.5986, allocations: 164.5 kB / 0.572 GB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/0.5987, allocations: 11.97 kB / 0.572 GB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.5987, allocations: 32.94 kB / 0.572 GB, free: 4.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 2.725e-06/0.5987, allocations: 0 / 0.572 GB, free: 4.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.0006535/0.5994, allocations: 413.3 kB / 0.5724 GB, free: 4.391 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.5994, allocations: 58.47 kB / 0.5724 GB, free: 4.324 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.5995, allocations: 165.6 kB / 0.5726 GB, free: 4.172 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.5996, allocations: 25.7 kB / 0.5726 GB, free: 4.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.5997, allocations: 231.7 kB / 0.5729 GB, free: 3.934 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.045e-05/0.5998, allocations: 118.5 kB / 0.573 GB, free: 3.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.5998, allocations: 0 / 0.573 GB, free: 3.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5999, allocations: 335.2 kB / 0.5733 GB, free: 3.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.6002, allocations: 159.9 kB / 0.5734 GB, free: 3.367 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.6004, allocations: 246.1 kB / 0.5737 GB, free: 3.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.6007, allocations: 203.1 kB / 0.5739 GB, free: 2.941 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6007, allocations: 0 / 0.5739 GB, free: 2.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006649/0.6014, allocations: 481 kB / 0.5743 GB, free: 2.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.6014, allocations: 8 kB / 0.5743 GB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6014, allocations: 4 kB / 0.5743 GB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.6015, allocations: 4 kB / 0.5743 GB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009765/0.6024, allocations: 213.8 kB / 0.5745 GB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003927/0.6064, allocations: 7.327 MB / 0.5817 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.6067, allocations: 23.77 kB / 0.5817 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.6067, allocations: 23.36 kB / 0.5817 GB, free: 10.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.6069, allocations: 132.4 kB / 0.5819 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005918/0.6075, allocations: 398.6 kB / 0.5822 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.6076, allocations: 31.61 kB / 0.5823 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009178/0.6085, allocations: 0.5351 MB / 0.5828 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.6085, allocations: 4 kB / 0.5828 GB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6085, allocations: 0 / 0.5828 GB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6085, allocations: 0 / 0.5828 GB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005173/0.609, allocations: 376.4 kB / 0.5832 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6091, allocations: 4 kB / 0.5832 GB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008917/0.6099, allocations: 195.8 kB / 0.5834 GB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.61, allocations: 3.984 kB / 0.5834 GB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.61, allocations: 11.77 kB / 0.5834 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003909/0.6139, allocations: 7.324 MB / 0.5905 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6139, allocations: 0 / 0.5905 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000695/0.6146, allocations: 0.5028 MB / 0.591 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.592e-05/0.6147, allocations: 104.8 kB / 0.5911 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.6148, allocations: 0 / 0.5911 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.615, allocations: 20.08 kB / 0.5911 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.6151, allocations: 23.91 kB / 0.5912 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.6151, allocations: 15.98 kB / 0.5912 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001184/0.6153, allocations: 137.4 kB / 0.5913 GB, free: 0.832 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6153, allocations: 0 / 0.5913 GB, free: 0.832 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006212/0.6159, allocations: 155.2 kB / 0.5914 GB, free: 0.6836 MB / 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 (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,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.001121/0.617, allocations: 1.115 MB / 0.5925 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.6182, allocations: 0.4948 MB / 0.593 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6183, allocations: 0 / 0.593 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008569/0.6191, allocations: 304.2 kB / 0.5933 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.6194, allocations: 15.81 kB / 0.5933 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.6208, allocations: 0.7593 MB / 0.5941 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.6212, allocations: 0.8872 MB / 0.5949 GB, free: 13.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002552/0.6215, allocations: 113.8 kB / 0.595 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.6216, allocations: 124 kB / 0.5952 GB, free: 13.04 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6217, allocations: 0 / 0.5952 GB, free: 13.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.6507, allocations: 8.026 MB / 0.603 GB, free: 5.012 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/0.651, allocations: 185.3 kB / 0.6032 GB, free: 4.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/2.667, allocations: 0 / 0.6032 GB, free: 4.82 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat