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.000798/0.0007979, 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.0009326/0.0009325, allocations: 175.8 kB / 16.58 MB, free: 6.84 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.253/1.253, allocations: 205.4 MB / 222.7 MB, free: 5.648 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.2583/0.2583, allocations: 43.55 MB / 314.6 MB, free: 9.02 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.000637/0.0006371, allocations: 14.97 kB / 384 MB, free: 8.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08459/0.08524, allocations: 58.86 MB / 442.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002181/0.08746, allocations: 2.27 MB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.08908, allocations: 1.369 MB / 446.5 MB, free: 9.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.818e-05/0.08918, allocations: 4 kB / 446.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.08938, allocations: 83.42 kB / 446.6 MB, free: 9.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.08965, allocations: 111.1 kB / 446.7 MB, free: 9.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.08999, allocations: 203.4 kB / 446.9 MB, free: 9.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.09022, allocations: 270 kB / 447.2 MB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.838e-05/0.09028, allocations: 32.7 kB / 447.2 MB, free: 8.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.178e-05/0.09038, allocations: 91.47 kB / 447.3 MB, free: 8.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.09052, allocations: 123.2 kB / 447.4 MB, free: 8.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.09054, allocations: 8 kB / 447.5 MB, free: 8.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007002/0.09125, allocations: 0.5539 MB / 448 MB, free: 8.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.496e-05/0.0913, allocations: 43.7 kB / 448 MB, free: 7.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.09136, allocations: 81.5 kB / 448.1 MB, free: 7.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.09169, allocations: 342.8 kB / 448.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.0917, allocations: 0 / 448.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09171, allocations: 0 / 448.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.09172, allocations: 0 / 448.5 MB, free: 7.574 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.0005475/0.09227, allocations: 0.5809 MB / 449 MB, free: 6.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.09231, allocations: 8.031 kB / 449.1 MB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.887e-05/0.09239, allocations: 74.53 kB / 449.1 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.09244, allocations: 43.44 kB / 449.2 MB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.09267, allocations: 238.5 kB / 449.4 MB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.0927, allocations: 21 kB / 449.4 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.09274, allocations: 40 kB / 449.5 MB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005964/0.09334, allocations: 0.5918 MB / 450 MB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.09337, allocations: 3.938 kB / 450.1 MB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.0934, allocations: 19.95 kB / 450.1 MB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.09342, allocations: 15.98 kB / 450.1 MB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004457/0.09387, allocations: 341.1 kB / 450.4 MB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.09594, allocations: 4.035 MB / 454.5 MB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.09617, allocations: 98.52 kB / 454.6 MB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.0963, allocations: 48.95 kB / 454.6 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.09633, allocations: 3.984 kB / 454.6 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.09636, allocations: 38.44 kB / 454.6 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.09637, allocations: 4 kB / 454.6 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004297/0.0968, allocations: 177.2 kB / 454.8 MB, free: 0.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.09684, allocations: 55.39 kB / 454.9 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.09718, allocations: 405.8 kB / 455.3 MB, free: 284 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.0972, allocations: 25.7 kB / 455.3 MB, free: 252 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.143/0.2402, allocations: 250.8 kB / 455.5 MB, free: 47.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.2403, allocations: 28.92 kB / 455.6 MB, free: 47.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.2403, allocations: 7.844 kB / 455.6 MB, free: 47.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.495e-05/0.2404, allocations: 350.1 kB / 455.9 MB, free: 46.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.2406, allocations: 64.27 kB / 456 MB, free: 46.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.2408, allocations: 270.9 kB / 456.2 MB, free: 46.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.241, allocations: 100.7 kB / 456.3 MB, free: 46.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.241, allocations: 3.062 kB / 456.3 MB, free: 46.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005288/0.2415, allocations: 357.7 kB / 456.7 MB, free: 46.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2415, allocations: 8.031 kB / 456.7 MB, free: 46.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.2415, allocations: 7.438 kB / 456.7 MB, free: 46.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2416, allocations: 12.97 kB / 456.7 MB, free: 46.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.242, allocations: 113.9 kB / 456.8 MB, free: 46.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003845/0.2424, allocations: 1.22 MB / 458.1 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.2426, allocations: 65 kB / 458.1 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.2427, allocations: 21.66 kB / 458.1 MB, free: 45.39 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.0001042/0.2428, allocations: 150.2 kB / 458.3 MB, free: 45.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.2428, allocations: 40.09 kB / 458.3 MB, free: 45.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.2432, allocations: 188.7 kB / 458.5 MB, free: 45.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2432, allocations: 4.406 kB / 458.5 MB, free: 45.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2432, allocations: 0 / 458.5 MB, free: 45.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2432, allocations: 0 / 458.5 MB, free: 45.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.2434, allocations: 275 kB / 458.8 MB, free: 45.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2434, allocations: 0 / 458.8 MB, free: 45.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.2437, allocations: 58.88 kB / 458.8 MB, free: 45.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2437, allocations: 0.6094 kB / 458.8 MB, free: 45.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2437, allocations: 3 kB / 458.8 MB, free: 45.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003217/0.244, allocations: 1.208 MB / 460.1 MB, free: 43.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.244, allocations: 2.844 kB / 460.1 MB, free: 43.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.2443, allocations: 251.5 kB / 460.3 MB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.2444, allocations: 110.6 kB / 460.4 MB, free: 43.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.2444, allocations: 3.938 kB / 460.4 MB, free: 43.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.2446, allocations: 6.094 kB / 460.4 MB, free: 43.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.2446, allocations: 14.89 kB / 460.4 MB, free: 43.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.2446, allocations: 4.344 kB / 460.4 MB, free: 43.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000193/0.2448, allocations: 271.1 kB / 460.7 MB, free: 43.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2448, allocations: 0 / 460.7 MB, free: 43.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004368/0.2453, allocations: 114.5 kB / 460.8 MB, free: 43.47 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.0005933/0.2459, allocations: 0.8471 MB / 461.7 MB, free: 42.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004451/0.2463, allocations: 219.5 kB / 461.9 MB, free: 42.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2463, allocations: 0 / 461.9 MB, free: 42.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.2466, allocations: 85.44 kB / 462 MB, free: 42.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.2469, allocations: 42.25 kB / 462 MB, free: 42.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.2489, allocations: 1.968 MB / 464 MB, free: 41.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.249, allocations: 0.7664 MB / 464.7 MB, free: 41.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.2491, allocations: 47.05 kB / 464.8 MB, free: 41.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.2492, allocations: 99.2 kB / 464.9 MB, free: 41.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2492, allocations: 0 / 464.9 MB, free: 41.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2702/0.5194, allocations: 9.222 MB / 474.1 MB, free: 40.42 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001303/0.5196, allocations: 263.6 kB / 474.4 MB, free: 40.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/2.672, allocations: 0 / 474.4 MB, free: 40.07 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