Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002223/0.002223, allocations: 187.2 kB / 16.41 MB, free: 5.723 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.044/2.044, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001188/0.001188, allocations: 101.4 kB / 270.9 MB, free: 8.367 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.5608/0.5608, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004724, allocations: 8 kB / 431.5 MB, free: 5.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1273, allocations: 58.84 MB / 490.3 MB, free: 10.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4797/0.6071, allocations: 93.38 MB / 0.57 GB, free: 8.965 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004048/0.6076, allocations: 95.94 kB / 0.5701 GB, free: 8.871 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05589/0.6635, allocations: 11.79 MB / 0.5817 GB, free: 12.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.6635, allocations: 0 / 0.5817 GB, free: 12.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.6636, allocations: 4 kB / 0.5817 GB, free: 12.95 MB / 410.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.001638/0.6652, allocations: 0.6275 MB / 0.5823 GB, free: 12.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/0.6653, allocations: 8.031 kB / 0.5823 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002033/0.6655, allocations: 102.5 kB / 0.5824 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.6657, allocations: 46.88 kB / 0.5824 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/0.6663, allocations: 290.3 kB / 0.5827 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.744e-05/0.6663, allocations: 37 kB / 0.5827 GB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.6664, allocations: 43.98 kB / 0.5828 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.6683, allocations: 0.651 MB / 0.5834 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.6683, allocations: 0 / 0.5834 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.298e-05/0.6684, allocations: 21.03 kB / 0.5834 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.595e-05/0.6685, allocations: 41.28 kB / 0.5835 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.6705, allocations: 0.696 MB / 0.5842 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003668/0.6742, allocations: 1.391 MB / 0.5855 GB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.6756, allocations: 444.5 kB / 0.5859 GB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.95e-05/0.6757, allocations: 8.219 kB / 0.5859 GB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.6757, allocations: 38.73 kB / 0.586 GB, free: 8.359 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.695e-06/0.6757, allocations: 4 kB / 0.586 GB, free: 8.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.002026/0.6778, allocations: 0.5397 MB / 0.5865 GB, free: 7.812 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.6779, allocations: 59.39 kB / 0.5866 GB, free: 7.742 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009205/0.6788, allocations: 444.6 kB / 0.587 GB, free: 7.305 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.6789, allocations: 29.7 kB / 0.587 GB, free: 7.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.6791, allocations: 254.8 kB / 0.5873 GB, free: 7.016 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.6793, allocations: 94.75 kB / 0.5874 GB, free: 6.922 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.6793, allocations: 11.94 kB / 0.5874 GB, free: 6.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.6795, allocations: 326.8 kB / 0.5877 GB, free: 6.582 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005691/0.6801, allocations: 160.5 kB / 0.5878 GB, free: 6.422 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006471/0.6807, allocations: 252.2 kB / 0.5881 GB, free: 6.137 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006431/0.6814, allocations: 192.8 kB / 0.5883 GB, free: 5.949 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.6814, allocations: 3.984 kB / 0.5883 GB, free: 5.945 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001555/0.683, allocations: 476.8 kB / 0.5887 GB, free: 5.473 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.683, allocations: 4 kB / 0.5887 GB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.6831, allocations: 4 kB / 0.5887 GB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.6831, allocations: 4 kB / 0.5887 GB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/0.6849, allocations: 203.8 kB / 0.5889 GB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005751/0.6907, allocations: 7.298 MB / 0.596 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/0.6914, allocations: 55.64 kB / 0.5961 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.204e-05/0.6915, allocations: 28.73 kB / 0.5961 GB, free: 13.6 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * 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.000447/0.6919, allocations: 221.7 kB / 0.5963 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.692, allocations: 35.53 kB / 0.5964 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.6939, allocations: 0.5402 MB / 0.5969 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.6939, allocations: 7.953 kB / 0.5969 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6939, allocations: 0 / 0.5969 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.6939, allocations: 0 / 0.5969 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000876/0.6948, allocations: 409.2 kB / 0.5973 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6948, allocations: 0 / 0.5973 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/0.6965, allocations: 195.8 kB / 0.5975 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.6966, allocations: 4 kB / 0.5975 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.6966, allocations: 15.98 kB / 0.5975 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00569/0.7023, allocations: 7.298 MB / 0.6046 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.7024, allocations: 3.984 kB / 0.6046 GB, free: 4.543 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.7039, allocations: 0.4998 MB / 0.6051 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.7042, allocations: 120.6 kB / 0.6052 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.7043, allocations: 8.062 kB / 0.6052 GB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.7047, allocations: 19.94 kB / 0.6053 GB, free: 3.863 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.7048, allocations: 19.97 kB / 0.6053 GB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/0.7049, allocations: 15.98 kB / 0.6053 GB, free: 3.828 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006886/0.7056, allocations: 351.1 kB / 0.6056 GB, free: 3.488 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7056, allocations: 0 / 0.6056 GB, free: 3.488 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000844/0.7065, allocations: 135.8 kB / 0.6058 GB, free: 3.355 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 16 * 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.002262/0.7088, allocations: 1.123 MB / 0.6069 GB, free: 2.211 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00256/0.7114, allocations: 496.1 kB / 0.6073 GB, free: 1.727 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.7114, allocations: 0 / 0.6073 GB, free: 1.727 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.7133, allocations: 296.6 kB / 0.6076 GB, free: 1.438 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008899/0.7142, allocations: 113.4 kB / 0.6077 GB, free: 1.328 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008736/0.723, allocations: 4.808 MB / 0.6124 GB, free: 12.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007303/0.7238, allocations: 0.8819 MB / 0.6133 GB, free: 11.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003712/0.7242, allocations: 135.4 kB / 0.6134 GB, free: 11.38 MB / 442.7 MB Notification: Performance of SimCode: time 1.933e-06/0.7242, allocations: 0 / 0.6134 GB, free: 11.38 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.579/4.303, allocations: 28.81 MB / 0.6415 GB, free: 14.56 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat