Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000789/0.000789, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008952/0.0008954, allocations: 173.9 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2966/0.2966, allocations: 43.54 MB / 314.6 MB, free: 8.781 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.0004431, allocations: 20 kB / 384.1 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0877/0.08816, allocations: 58.85 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002191/0.09038, allocations: 2.251 MB / 445.2 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.0923, allocations: 1.657 MB / 446.8 MB, free: 9.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.77e-05/0.09239, allocations: 4 kB / 446.8 MB, free: 9.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.09263, allocations: 83.47 kB / 446.9 MB, free: 8.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.09281, allocations: 107.1 kB / 447 MB, free: 8.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.09333, allocations: 275.1 kB / 447.3 MB, free: 8.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.09355, allocations: 258.2 kB / 447.5 MB, free: 8.293 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.007e-05/0.09362, allocations: 28.72 kB / 447.6 MB, free: 8.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.09371, allocations: 83.47 kB / 447.6 MB, free: 8.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.09383, allocations: 111.3 kB / 447.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.09385, allocations: 4 kB / 447.7 MB, free: 8.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008898/0.09475, allocations: 0.7255 MB / 448.5 MB, free: 7.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.0948, allocations: 39.73 kB / 448.5 MB, free: 7.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.09486, allocations: 73.52 kB / 448.6 MB, free: 7.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004238/0.09529, allocations: 478.4 kB / 449 MB, free: 6.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.0953, allocations: 0 / 449 MB, free: 6.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09531, allocations: 0 / 449 MB, free: 6.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.09532, allocations: 0 / 449 MB, free: 6.758 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0005839/0.09591, allocations: 0.5925 MB / 449.6 MB, free: 6.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.09595, allocations: 12.03 kB / 449.7 MB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.186e-05/0.09602, allocations: 82.45 kB / 449.7 MB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.09607, allocations: 43.44 kB / 449.8 MB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.09627, allocations: 230.6 kB / 450 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.0963, allocations: 21 kB / 450 MB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.09634, allocations: 39.94 kB / 450.1 MB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.09682, allocations: 366.5 kB / 450.4 MB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.09684, allocations: 4 kB / 450.4 MB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.09687, allocations: 15.95 kB / 450.4 MB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.09688, allocations: 8 kB / 450.4 MB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.09727, allocations: 267.9 kB / 450.7 MB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009845/0.09826, allocations: 0.8845 MB / 451.6 MB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.09847, allocations: 94.47 kB / 451.7 MB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.0986, allocations: 56.89 kB / 451.7 MB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.09863, allocations: 0 / 451.7 MB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.09866, allocations: 30.56 kB / 451.8 MB, free: 3.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.09866, allocations: 0 / 451.8 MB, free: 3.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004619/0.09913, allocations: 209.2 kB / 452 MB, free: 3.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.09917, allocations: 55.39 kB / 452 MB, free: 3.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.0995, allocations: 397.8 kB / 452.4 MB, free: 3.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.09952, allocations: 29.7 kB / 452.4 MB, free: 3.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.09966, allocations: 251 kB / 452.7 MB, free: 2.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.09969, allocations: 35.55 kB / 452.7 MB, free: 2.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.09971, allocations: 8 kB / 452.7 MB, free: 2.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.09981, allocations: 346.8 kB / 453.1 MB, free: 2.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.09996, allocations: 64.23 kB / 453.1 MB, free: 2.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.1002, allocations: 254 kB / 453.4 MB, free: 2.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.1004, allocations: 103.8 kB / 453.5 MB, free: 2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.1004, allocations: 7.938 kB / 453.5 MB, free: 1.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005158/0.1009, allocations: 348.9 kB / 453.8 MB, free: 1.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1009, allocations: 8 kB / 453.8 MB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.002e-05/0.101, allocations: 27.98 kB / 453.9 MB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.101, allocations: 8.812 kB / 453.9 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.1012, allocations: 63.91 kB / 453.9 MB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.1012, allocations: 19.92 kB / 454 MB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.1014, allocations: 63.23 kB / 454 MB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.1014, allocations: 23.98 kB / 454 MB, free: 1.434 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001158/0.1015, allocations: 153.6 kB / 454.2 MB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.1016, allocations: 35.53 kB / 454.2 MB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004494/0.102, allocations: 220.7 kB / 454.4 MB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1021, allocations: 4.172 kB / 454.4 MB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1021, allocations: 8 kB / 454.5 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1021, allocations: 0 / 454.5 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.1023, allocations: 285.4 kB / 454.7 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.593e-05/0.1024, allocations: 19.98 kB / 454.8 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.1024, allocations: 12 kB / 454.8 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1024, allocations: 0 / 454.8 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1025, allocations: 11.98 kB / 454.8 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1025, allocations: 0 / 454.8 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1025, allocations: 0 / 454.8 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.1028, allocations: 266.9 kB / 455 MB, free: 368 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.1029, allocations: 104.6 kB / 455.1 MB, free: 244 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.1029, allocations: 3.984 kB / 455.1 MB, free: 240 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.103, allocations: 8 kB / 455.2 MB, free: 232 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.1031, allocations: 11.98 kB / 455.2 MB, free: 220 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.1031, allocations: 4 kB / 455.2 MB, free: 216 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.1563/0.2594, allocations: 262.1 kB / 455.4 MB, free: 46.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.2594, allocations: 2.469 kB / 455.4 MB, free: 46.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005509/0.26, allocations: 124.3 kB / 455.5 MB, free: 46.24 MB / 382.1 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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0007307/0.2607, allocations: 0.8834 MB / 456.4 MB, free: 45.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004768/0.2612, allocations: 321.3 kB / 456.7 MB, free: 45.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2612, allocations: 3.719 kB / 456.7 MB, free: 45.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.2614, allocations: 189.8 kB / 456.9 MB, free: 45.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.2618, allocations: 33.69 kB / 457 MB, free: 45.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.2639, allocations: 2.014 MB / 459 MB, free: 44.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.264, allocations: 0.776 MB / 459.8 MB, free: 43.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.386e-05/0.2641, allocations: 29.48 kB / 459.8 MB, free: 43.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/0.2642, allocations: 112.6 kB / 459.9 MB, free: 43.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2642, allocations: 0 / 459.9 MB, free: 43.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.147/1.411, allocations: 11.1 MB / 471 MB, free: 42.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/1.412, allocations: 264 kB / 471.3 MB, free: 42.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/3.569, allocations: 3.828 kB / 471.3 MB, free: 42.53 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat