Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009018/0.0009019, allocations: 83.5 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.237/0.237, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.549e-05/2.552e-05, allocations: 8.156 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1513, allocations: 61.92 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4906/0.642, allocations: 92.5 MB / 0.5851 GB, free: 3.852 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003839/0.6425, allocations: 98.28 kB / 0.5852 GB, free: 3.758 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02824/0.6708, allocations: 9.824 MB / 0.5948 GB, free: 9.887 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.6709, allocations: 0 / 0.5948 GB, free: 9.887 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.461e-05/0.6709, allocations: 4 kB / 0.5948 GB, free: 9.883 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001055/0.672, allocations: 0.5134 MB / 0.5953 GB, free: 9.324 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.761e-05/0.672, allocations: 11.98 kB / 0.5953 GB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.6722, allocations: 23.72 kB / 0.5953 GB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.6726, allocations: 219 kB / 0.5956 GB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.6726, allocations: 8 kB / 0.5956 GB, free: 9.027 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.6727, allocations: 12 kB / 0.5956 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003608/0.673, allocations: 143.8 kB / 0.5957 GB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.6735, allocations: 228.4 kB / 0.5959 GB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.6735, allocations: 0 / 0.5959 GB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.6735, allocations: 3.938 kB / 0.5959 GB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.6736, allocations: 8 kB / 0.5959 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.6747, allocations: 0.7154 MB / 0.5966 GB, free: 7.859 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.6752, allocations: 203.7 kB / 0.5968 GB, free: 7.633 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.6753, allocations: 66.55 kB / 0.5969 GB, free: 7.559 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.195e-05/0.6754, allocations: 7.984 kB / 0.5969 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.6754, allocations: 34.56 kB / 0.5969 GB, free: 7.508 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.524e-06/0.6754, allocations: 0 / 0.5969 GB, free: 7.508 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005738/0.676, allocations: 165.5 kB / 0.5971 GB, free: 7.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.521e-05/0.6761, allocations: 106.8 kB / 0.5972 GB, free: 7.211 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.6764, allocations: 173.4 kB / 0.5974 GB, free: 7.035 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.6764, allocations: 25.7 kB / 0.5974 GB, free: 7.004 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.6766, allocations: 144.2 kB / 0.5975 GB, free: 6.855 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.472e-05/0.6766, allocations: 43.36 kB / 0.5976 GB, free: 6.812 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/0.6767, allocations: 0 / 0.5976 GB, free: 6.812 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.6769, allocations: 326.9 kB / 0.5979 GB, free: 6.484 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.677, allocations: 59.95 kB / 0.5979 GB, free: 6.426 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.6771, allocations: 85.12 kB / 0.598 GB, free: 6.324 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.6773, allocations: 71.88 kB / 0.5981 GB, free: 6.254 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6773, allocations: 4 kB / 0.5981 GB, free: 6.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003392/0.6776, allocations: 185.4 kB / 0.5983 GB, free: 6.062 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6776, allocations: 4 kB / 0.5983 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/0.6777, allocations: 15.98 kB / 0.5983 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.6777, allocations: 4 kB / 0.5983 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.6779, allocations: 44.06 kB / 0.5983 GB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.6779, allocations: 3.984 kB / 0.5983 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.6781, allocations: 35.78 kB / 0.5984 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.6782, allocations: 8 kB / 0.5984 GB, free: 5.949 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001024/0.6783, allocations: 108.9 kB / 0.5985 GB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003605/0.6787, allocations: 169.4 kB / 0.5986 GB, free: 5.664 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.6787, allocations: 15.81 kB / 0.5987 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.6791, allocations: 187.5 kB / 0.5988 GB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.6791, allocations: 3.984 kB / 0.5988 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.6791, allocations: 7.953 kB / 0.5988 GB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6791, allocations: 0 / 0.5988 GB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.6795, allocations: 238 kB / 0.5991 GB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/0.6795, allocations: 11.98 kB / 0.5991 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.6797, allocations: 47.95 kB / 0.5991 GB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.6797, allocations: 0 / 0.5991 GB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.6798, allocations: 4 kB / 0.5991 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.6798, allocations: 0 / 0.5991 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6798, allocations: 0 / 0.5991 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.6802, allocations: 437.2 kB / 0.5995 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.6803, allocations: 92.92 kB / 0.5996 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.6803, allocations: 0 / 0.5996 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.6805, allocations: 31.86 kB / 0.5997 GB, free: 4.516 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.6806, allocations: 23.92 kB / 0.5997 GB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.6806, allocations: 4 kB / 0.5997 GB, free: 4.488 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.6807, allocations: 124.4 kB / 0.5998 GB, free: 4.367 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6808, allocations: 0 / 0.5998 GB, free: 4.367 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005128/0.6813, allocations: 87.77 kB / 0.5999 GB, free: 4.281 MB / 410.7 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0009525/0.6822, allocations: 1.176 MB / 0.601 GB, free: 3.066 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.6826, allocations: 217 kB / 0.6013 GB, free: 2.836 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.6826, allocations: 0 / 0.6013 GB, free: 2.836 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.6828, allocations: 157.3 kB / 0.6014 GB, free: 2.664 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.6831, allocations: 20.17 kB / 0.6014 GB, free: 2.641 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000916/0.684, allocations: 368.5 kB / 0.6018 GB, free: 2.238 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.6844, allocations: 0.7703 MB / 0.6025 GB, free: 1.441 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000107/0.6845, allocations: 28.73 kB / 0.6026 GB, free: 1.414 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.815e-05/0.6846, allocations: 67.41 kB / 0.6026 GB, free: 1.348 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6846, allocations: 0 / 0.6026 GB, free: 1.348 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.7106, allocations: 4.333 MB / 0.6068 GB, free: 13.05 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/0.7109, allocations: 194.1 kB / 0.607 GB, free: 12.85 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.53, allocations: 1.859 kB / 0.607 GB, free: 12.85 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat does not exist to compare? outputFormat=mat