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_overall_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_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_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.001101/0.001101, allocations: 180.9 kB / 8.006 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.68/1.68, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0009052/0.0009051, allocations: 90.62 kB / 261.7 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.2563/0.2563, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.975e-05, allocations: 4 kB / 418.4 MB, free: 28.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1106, allocations: 58.85 MB / 477.2 MB, free: 1.523 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.405/0.5157, allocations: 97.8 MB / 0.5616 GB, free: 13.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.516, allocations: 100.5 kB / 0.5616 GB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06208/0.5781, allocations: 23.33 MB / 0.5844 GB, free: 9.777 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.5781, allocations: 0 / 0.5844 GB, free: 9.777 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.5781, allocations: 4 kB / 0.5844 GB, free: 9.773 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001116/0.5793, allocations: 0.6901 MB / 0.5851 GB, free: 9.066 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.5793, allocations: 8.031 kB / 0.5851 GB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.5794, allocations: 55.34 kB / 0.5852 GB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.5798, allocations: 312.2 kB / 0.5855 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.5799, allocations: 16 kB / 0.5855 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.95e-05/0.58, allocations: 32 kB / 0.5855 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009051/0.5809, allocations: 0.6772 MB / 0.5862 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009352/0.5818, allocations: 0.6328 MB / 0.5868 GB, free: 7.645 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.5818, allocations: 4 kB / 0.5868 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.5819, allocations: 0 / 0.5868 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.068e-05/0.582, allocations: 45.28 kB / 0.5868 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.5841, allocations: 1.383 MB / 0.5882 GB, free: 6.379 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007691/0.5849, allocations: 0.5043 MB / 0.5887 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.5851, allocations: 163.1 kB / 0.5888 GB, free: 5.781 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.261e-05/0.5852, allocations: 11.97 kB / 0.5888 GB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.5852, allocations: 46.08 kB / 0.5889 GB, free: 5.719 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 2.335e-06/0.5852, allocations: 0 / 0.5889 GB, free: 5.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007683/0.586, allocations: 411 kB / 0.5893 GB, free: 5.348 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.5861, allocations: 59.34 kB / 0.5893 GB, free: 5.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.5864, allocations: 244.1 kB / 0.5896 GB, free: 5.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.5864, allocations: 25.7 kB / 0.5896 GB, free: 5.039 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.5865, allocations: 286.8 kB / 0.5899 GB, free: 4.785 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.432e-05/0.5866, allocations: 131.3 kB / 0.59 GB, free: 4.672 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.5867, allocations: 4 kB / 0.59 GB, free: 4.668 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5868, allocations: 341.4 kB / 0.5903 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.5872, allocations: 191.1 kB / 0.5905 GB, free: 4.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/0.5876, allocations: 430.5 kB / 0.5909 GB, free: 3.688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.5879, allocations: 269.5 kB / 0.5912 GB, free: 3.457 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/0.588, allocations: 4 kB / 0.5912 GB, free: 3.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00109/0.5891, allocations: 0.6282 MB / 0.5918 GB, free: 2.879 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.5891, allocations: 8 kB / 0.5918 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.5891, allocations: 11.98 kB / 0.5918 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/0.5891, allocations: 15.95 kB / 0.5918 GB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.5902, allocations: 250.3 kB / 0.5921 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00418/0.5944, allocations: 7.34 MB / 0.5992 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004037/0.5949, allocations: 39.58 kB / 0.5993 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.784e-05/0.595, allocations: 39.42 kB / 0.5993 GB, free: 10.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 61 * 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.0001756/0.5951, allocations: 154.8 kB / 0.5995 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006146/0.5958, allocations: 404.7 kB / 0.5998 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.5958, allocations: 35.58 kB / 0.5999 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009734/0.5968, allocations: 0.5601 MB / 0.6004 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.5968, allocations: 4 kB / 0.6004 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5968, allocations: 0 / 0.6004 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.5969, allocations: 0 / 0.6004 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005406/0.5974, allocations: 398.8 kB / 0.6008 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5974, allocations: 0 / 0.6008 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009128/0.5983, allocations: 211.3 kB / 0.601 GB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.5983, allocations: 11.94 kB / 0.601 GB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.5984, allocations: 8 kB / 0.601 GB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004385/0.6028, allocations: 7.327 MB / 0.6082 GB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/0.6028, allocations: 4.344 kB / 0.6082 GB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009479/0.6038, allocations: 0.5081 MB / 0.6087 GB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.6039, allocations: 120.5 kB / 0.6088 GB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/0.604, allocations: 0 / 0.6088 GB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.6042, allocations: 7.984 kB / 0.6088 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.6043, allocations: 31.02 kB / 0.6088 GB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.6044, allocations: 15.98 kB / 0.6089 GB, free: 1.121 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002054/0.6046, allocations: 182 kB / 0.609 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6046, allocations: 0 / 0.609 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009122/0.6055, allocations: 198.8 kB / 0.6092 GB, free: 0.7812 MB / 410.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.00141/0.6069, allocations: 1.223 MB / 0.6104 GB, free: 15.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.6084, allocations: 0.5613 MB / 0.611 GB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6084, allocations: 4 kB / 0.611 GB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008718/0.6092, allocations: 321 kB / 0.6113 GB, free: 14.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.6095, allocations: 26.42 kB / 0.6113 GB, free: 14.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.6112, allocations: 0.8377 MB / 0.6121 GB, free: 13.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.6117, allocations: 0.923 MB / 0.613 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003515/0.6121, allocations: 166.9 kB / 0.6132 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.6123, allocations: 142.8 kB / 0.6133 GB, free: 12.79 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6123, allocations: 0 / 0.6133 GB, free: 12.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03439/0.6467, allocations: 10.13 MB / 0.6232 GB, free: 2.652 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/0.647, allocations: 193.3 kB / 0.6234 GB, free: 2.453 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/2.865, allocations: 3.094 kB / 0.6234 GB, free: 2.453 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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_overall_KC_res.mat does not exist to compare? outputFormat=mat