Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001345/0.001345, allocations: 97.45 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001452, allocations: 198.3 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003191, allocations: 8 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1378, allocations: 63.46 MB / 481.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002667/0.1405, allocations: 2.162 MB / 483.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.1425, allocations: 1.365 MB / 485.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1426, allocations: 3.938 kB / 485.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.1429, allocations: 99.44 kB / 485.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.1432, allocations: 127.6 kB / 485.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.1437, allocations: 203.4 kB / 485.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.1439, allocations: 223.4 kB / 485.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.681e-05/0.144, allocations: 24.73 kB / 485.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1441, allocations: 91.5 kB / 485.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.1443, allocations: 111.4 kB / 485.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.1443, allocations: 4 kB / 485.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008984/0.1452, allocations: 0.593 MB / 486.5 MB, free: 244 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.1453, allocations: 35.77 kB / 486.6 MB, free: 208 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.1453, allocations: 81.52 kB / 486.6 MB, free: 120 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.1458, allocations: 339 kB / 487 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1458, allocations: 0 / 487 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1458, allocations: 0 / 487 MB, free: 15.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1458, allocations: 0 / 487 MB, free: 15.79 MB / 366.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.0007139/0.1465, allocations: 0.5732 MB / 487.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1466, allocations: 8.031 kB / 487.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.232e-05/0.1467, allocations: 78.53 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.677e-05/0.1467, allocations: 43.48 kB / 487.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.147, allocations: 246.4 kB / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.147, allocations: 25 kB / 487.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.1471, allocations: 32 kB / 488 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007175/0.1478, allocations: 0.5726 MB / 488.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1478, allocations: 7.938 kB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.1479, allocations: 16 kB / 488.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.1479, allocations: 12 kB / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005115/0.1484, allocations: 345 kB / 488.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.151, allocations: 4.047 MB / 493 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.1514, allocations: 110.6 kB / 493.1 MB, free: 9.246 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1514, allocations: 4 kB / 493.1 MB, free: 9.242 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.1514, allocations: 34.56 kB / 493.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.1514, allocations: 3.938 kB / 493.1 MB, free: 9.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005197/0.152, allocations: 185.2 kB / 493.3 MB, free: 9.008 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.152, allocations: 55.41 kB / 493.3 MB, free: 8.941 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003934/0.1524, allocations: 409.7 kB / 493.7 MB, free: 8.531 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1524, allocations: 25.7 kB / 493.8 MB, free: 8.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.1526, allocations: 247 kB / 494 MB, free: 8.254 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.1526, allocations: 31.64 kB / 494 MB, free: 8.223 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.1527, allocations: 8 kB / 494.1 MB, free: 8.215 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1528, allocations: 346.8 kB / 494.4 MB, free: 7.867 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.153, allocations: 60.61 kB / 494.5 MB, free: 7.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.1533, allocations: 266.4 kB / 494.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.1535, allocations: 107.8 kB / 494.8 MB, free: 7.336 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.1535, allocations: 3.953 kB / 494.8 MB, free: 7.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005905/0.1541, allocations: 360.7 kB / 495.2 MB, free: 6.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.1541, allocations: 8 kB / 495.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.1542, allocations: 8 kB / 495.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.1542, allocations: 8.719 kB / 495.2 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004431/0.1546, allocations: 115.9 kB / 495.3 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007179/0.1554, allocations: 1.215 MB / 496.5 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.1557, allocations: 67.45 kB / 496.6 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.1557, allocations: 28 kB / 496.6 MB, free: 5.48 MB / 366.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.0001525/0.1559, allocations: 152.2 kB / 496.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.1559, allocations: 31.62 kB / 496.8 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004453/0.1564, allocations: 184.8 kB / 497 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.1564, allocations: 7.953 kB / 497 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1564, allocations: 4 kB / 497 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1564, allocations: 0 / 497 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.1568, allocations: 273.5 kB / 497.3 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1568, allocations: 3.938 kB / 497.3 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.1571, allocations: 59.89 kB / 497.3 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1571, allocations: 0 / 497.3 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1571, allocations: 4 kB / 497.3 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000709/0.1578, allocations: 1.203 MB / 498.5 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.1578, allocations: 7.938 kB / 498.5 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.1582, allocations: 247.2 kB / 498.8 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1583, allocations: 108.6 kB / 498.9 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.1584, allocations: 3.938 kB / 498.9 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.1586, allocations: 11.98 kB / 498.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.1586, allocations: 11.98 kB / 498.9 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.1586, allocations: 4 kB / 498.9 MB, free: 3.039 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002952/0.1589, allocations: 271.1 kB / 499.2 MB, free: 2.777 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1589, allocations: 0 / 499.2 MB, free: 2.777 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006755/0.1596, allocations: 115.9 kB / 499.3 MB, free: 2.664 MB / 366.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.001051/0.1607, allocations: 0.8686 MB / 0.4884 GB, free: 1.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006343/0.1613, allocations: 221.5 kB / 0.4886 GB, free: 1.559 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1613, allocations: 0 / 0.4886 GB, free: 1.559 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.1616, allocations: 75.95 kB / 0.4887 GB, free: 1.484 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.162, allocations: 41.95 kB / 0.4888 GB, free: 1.441 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/0.1668, allocations: 6.765 MB / 0.4954 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.1673, allocations: 0.7794 MB / 0.4961 GB, free: 9.676 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001854/0.1675, allocations: 46.94 kB / 0.4962 GB, free: 9.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.1677, allocations: 103.4 kB / 0.4963 GB, free: 9.527 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.1677, allocations: 0 / 0.4963 GB, free: 9.527 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.1927, allocations: 9.284 MB / 0.5053 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.193, allocations: 264 kB / 0.5056 GB, free: 160 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/2.421, allocations: 6.25 kB / 0.5056 GB, free: 156 kB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat does not exist to compare? outputFormat=mat