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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",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.001008/0.001008, allocations: 95.89 kB / 15.68 MB, free: 488 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.001349/0.001349, allocations: 178.5 kB / 16.57 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.661/1.661, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.3726/0.3726, allocations: 43.54 MB / 314.5 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.0007456/0.000746, allocations: 16 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1465, allocations: 58.84 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.00294/0.1495, allocations: 2.166 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.1519, allocations: 1.35 MB / 446.4 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.152, allocations: 0 / 446.4 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.1524, allocations: 99.45 kB / 446.5 MB, free: 9.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.1527, allocations: 123.5 kB / 446.6 MB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.1532, allocations: 203.4 kB / 446.8 MB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.1535, allocations: 215.4 kB / 447 MB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/0.1536, allocations: 28.72 kB / 447 MB, free: 8.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.1538, allocations: 95.44 kB / 447.1 MB, free: 8.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.154, allocations: 119.4 kB / 447.2 MB, free: 8.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.154, allocations: 8 kB / 447.2 MB, free: 8.562 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009392/0.1549, allocations: 0.5735 MB / 447.8 MB, free: 7.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.847e-05/0.155, allocations: 39.77 kB / 447.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.014e-05/0.1551, allocations: 73.52 kB / 447.9 MB, free: 7.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.1555, allocations: 319.1 kB / 448.2 MB, free: 7.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.1555, allocations: 0 / 448.2 MB, free: 7.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1555, allocations: 0 / 448.2 MB, free: 7.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1556, allocations: 4 kB / 448.2 MB, free: 7.555 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.0007507/0.1563, allocations: 0.577 MB / 448.8 MB, free: 6.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1564, allocations: 12.03 kB / 448.8 MB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.146e-05/0.1565, allocations: 70.53 kB / 448.9 MB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.1565, allocations: 39.44 kB / 448.9 MB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.1569, allocations: 242.4 kB / 449.2 MB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.1569, allocations: 29 kB / 449.2 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.1569, allocations: 36 kB / 449.2 MB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007318/0.1577, allocations: 0.5763 MB / 449.8 MB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.1577, allocations: 7.938 kB / 449.8 MB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.1577, allocations: 23.95 kB / 449.9 MB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.1578, allocations: 8 kB / 449.9 MB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00053/0.1583, allocations: 345 kB / 450.2 MB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002972/0.1613, allocations: 4.039 MB / 454.2 MB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/0.1617, allocations: 114.5 kB / 454.3 MB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.1617, allocations: 4.141 kB / 454.4 MB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1618, allocations: 38.56 kB / 454.4 MB, free: 0.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.1618, allocations: 0 / 454.4 MB, free: 0.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005436/0.1623, allocations: 189.2 kB / 454.6 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.1624, allocations: 55.34 kB / 454.6 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004112/0.1628, allocations: 405.8 kB / 455 MB, free: 300 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1628, allocations: 25.7 kB / 455 MB, free: 268 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.163, allocations: 255 kB / 455.3 MB, free: 8 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2676/0.4306, allocations: 22.61 kB / 455.3 MB, free: 46.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.4307, allocations: 7.156 kB / 455.3 MB, free: 46.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.4309, allocations: 352.6 kB / 455.7 MB, free: 46.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.4312, allocations: 59.19 kB / 455.7 MB, free: 46.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.4315, allocations: 269.9 kB / 456 MB, free: 46.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.4317, allocations: 102.9 kB / 456.1 MB, free: 46.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.4317, allocations: 6.031 kB / 456.1 MB, free: 46.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007294/0.4325, allocations: 353 kB / 456.4 MB, free: 46.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.4325, allocations: 7.781 kB / 456.5 MB, free: 46.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.4325, allocations: 9 kB / 456.5 MB, free: 46.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.4e-05/0.4326, allocations: 21.03 kB / 456.5 MB, free: 46.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/0.4331, allocations: 107.5 kB / 456.6 MB, free: 46.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005791/0.4337, allocations: 1.221 MB / 457.8 MB, free: 45.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.434, allocations: 67.36 kB / 457.9 MB, free: 45.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.4341, allocations: 22.38 kB / 457.9 MB, free: 45.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.4343, allocations: 146.9 kB / 458 MB, free: 45.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.4343, allocations: 38.2 kB / 458.1 MB, free: 45.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004698/0.4348, allocations: 186.2 kB / 458.3 MB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.4348, allocations: 5.031 kB / 458.3 MB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4348, allocations: 0 / 458.3 MB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.4348, allocations: 4.578 kB / 458.3 MB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.4351, allocations: 279.9 kB / 458.5 MB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4352, allocations: 0 / 458.5 MB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.4354, allocations: 53.95 kB / 458.6 MB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.4355, allocations: 3.047 kB / 458.6 MB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.4355, allocations: 2.906 kB / 458.6 MB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005135/0.436, allocations: 1.205 MB / 459.8 MB, free: 43.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.436, allocations: 2.656 kB / 459.8 MB, free: 43.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.4363, allocations: 255.9 kB / 460.1 MB, free: 43.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/0.4364, allocations: 109.8 kB / 460.2 MB, free: 43.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.4365, allocations: 2.531 kB / 460.2 MB, free: 43.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.4367, allocations: 5.5 kB / 460.2 MB, free: 43.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.4367, allocations: 5.891 kB / 460.2 MB, free: 43.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.4367, allocations: 10.22 kB / 460.2 MB, free: 43.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002709/0.437, allocations: 270.2 kB / 460.4 MB, free: 43.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.437, allocations: 0 / 460.4 MB, free: 43.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005859/0.4376, allocations: 108.3 kB / 460.6 MB, free: 43.25 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009656/0.4386, allocations: 0.8585 MB / 461.4 MB, free: 42.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006057/0.4392, allocations: 215.1 kB / 461.6 MB, free: 42.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.4392, allocations: 2.844 kB / 461.6 MB, free: 42.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.4395, allocations: 84.42 kB / 461.7 MB, free: 42.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.4399, allocations: 39.61 kB / 461.7 MB, free: 42.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/0.4437, allocations: 6.772 MB / 468.5 MB, free: 36.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.444, allocations: 0.7798 MB / 469.3 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.4441, allocations: 39.55 kB / 469.3 MB, free: 36.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.4443, allocations: 102.9 kB / 469.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4443, allocations: 0 / 469.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.4682, allocations: 9.136 MB / 478.6 MB, free: 35.43 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/0.4685, allocations: 262.8 kB / 478.8 MB, free: 35.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/2.817, allocations: 3.953 kB / 478.8 MB, free: 35.08 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.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_KC_res.mat does not exist to compare? outputFormat=mat