Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",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.001068/0.001068, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009004/0.0009005, allocations: 93.83 kB / 292.1 MB, free: 10.92 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.3436/0.3436, allocations: 44.22 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003561, allocations: 11.98 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.405, allocations: 61.9 MB / 0.5097 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.5361, allocations: 100.5 MB / 0.6078 GB, free: 10.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/0.5365, allocations: 107.8 kB / 0.6079 GB, free: 10.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03277/0.5693, allocations: 10.6 MB / 0.6182 GB, free: 15.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5694, allocations: 0 / 0.6182 GB, free: 15.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.5694, allocations: 4 kB / 0.6182 GB, free: 15.87 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007608/0.5702, allocations: 0.5079 MB / 0.6187 GB, free: 15.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.5702, allocations: 12.03 kB / 0.6187 GB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.686e-05/0.5703, allocations: 50.55 kB / 0.6188 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.5703, allocations: 27.72 kB / 0.6188 GB, free: 15.22 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.5705, allocations: 211.3 kB / 0.619 GB, free: 14.97 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.5706, allocations: 16.44 kB / 0.619 GB, free: 14.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.5706, allocations: 16 kB / 0.6191 GB, free: 14.94 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.5711, allocations: 267.5 kB / 0.6193 GB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.5711, allocations: 0 / 0.6193 GB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.5711, allocations: 12 kB / 0.6193 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.5712, allocations: 4 kB / 0.6193 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.5715, allocations: 164.2 kB / 0.6195 GB, free: 14.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.5725, allocations: 0.908 MB / 0.6204 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.5727, allocations: 66.55 kB / 0.6204 GB, free: 13.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.5728, allocations: 7.938 kB / 0.6204 GB, free: 13.42 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.5728, allocations: 30.56 kB / 0.6205 GB, free: 13.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.5728, allocations: 0 / 0.6205 GB, free: 13.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005506/0.5734, allocations: 307.7 kB / 0.6208 GB, free: 13.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.5734, allocations: 51.41 kB / 0.6208 GB, free: 12.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.5736, allocations: 238 kB / 0.621 GB, free: 12.74 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.5737, allocations: 29.7 kB / 0.6211 GB, free: 12.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.5738, allocations: 179.1 kB / 0.6212 GB, free: 12.53 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.5738, allocations: 19.73 kB / 0.6213 GB, free: 12.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.5738, allocations: 11.94 kB / 0.6213 GB, free: 12.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.5739, allocations: 334.8 kB / 0.6216 GB, free: 12.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.5741, allocations: 48.2 kB / 0.6216 GB, free: 12.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.5743, allocations: 192.9 kB / 0.6218 GB, free: 11.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.5745, allocations: 79.91 kB / 0.6219 GB, free: 11.77 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.5745, allocations: 0 / 0.6219 GB, free: 11.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004898/0.575, allocations: 264.8 kB / 0.6221 GB, free: 11.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.575, allocations: 8 kB / 0.6221 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/0.5751, allocations: 12.69 kB / 0.6222 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.5751, allocations: 8 kB / 0.6222 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.5753, allocations: 52.09 kB / 0.6222 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.5753, allocations: 11.94 kB / 0.6222 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.5754, allocations: 47.58 kB / 0.6223 GB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.5755, allocations: 19.94 kB / 0.6223 GB, free: 11.35 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001192/0.5756, allocations: 138.2 kB / 0.6224 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.5756, allocations: 19.8 kB / 0.6224 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/0.576, allocations: 158.8 kB / 0.6226 GB, free: 11.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.576, allocations: 0 / 0.6226 GB, free: 11.03 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5761, allocations: 0 / 0.6226 GB, free: 11.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.5761, allocations: 3.938 kB / 0.6226 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.5763, allocations: 221.5 kB / 0.6228 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/0.5763, allocations: 8 kB / 0.6228 GB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.5764, allocations: 15.98 kB / 0.6228 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5764, allocations: 144 / 0.6228 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.5764, allocations: 4 kB / 0.6228 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.5764, allocations: 0 / 0.6228 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5764, allocations: 0 / 0.6228 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.5768, allocations: 219.2 kB / 0.623 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/0.5769, allocations: 92.88 kB / 0.6231 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.5769, allocations: 4 kB / 0.6231 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.577, allocations: 7.984 kB / 0.6231 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.5771, allocations: 7.984 kB / 0.6232 GB, free: 10.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.5771, allocations: 8 kB / 0.6232 GB, free: 10.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001797/0.5773, allocations: 177.9 kB / 0.6233 GB, free: 10.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5773, allocations: 4 kB / 0.6233 GB, free: 10.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006322/0.5779, allocations: 115.9 kB / 0.6234 GB, free: 10.07 MB / 442.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001028/0.5789, allocations: 0.8799 MB / 0.6243 GB, free: 9.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004806/0.5794, allocations: 208.2 kB / 0.6245 GB, free: 8.945 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5795, allocations: 0 / 0.6245 GB, free: 8.945 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.5797, allocations: 103.6 kB / 0.6246 GB, free: 8.832 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.5799, allocations: 20.88 kB / 0.6246 GB, free: 8.809 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.5835, allocations: 4.625 MB / 0.6291 GB, free: 4.047 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.5838, allocations: 0.7365 MB / 0.6299 GB, free: 3.285 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.5839, allocations: 29.88 kB / 0.6299 GB, free: 3.258 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.789e-05/0.584, allocations: 63.42 kB / 0.6299 GB, free: 3.195 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/0.584, allocations: 0 / 0.6299 GB, free: 3.195 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.6061, allocations: 8.47 MB / 0.6382 GB, free: 10.99 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.6063, allocations: 256.5 kB / 0.6385 GB, free: 10.64 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.138/2.745, allocations: 3.281 kB / 0.6385 GB, free: 10.64 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat