Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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_1_0-beta_om_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 trunk/package.mo): time 0.00119/0.001191, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001259/0.001259, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.8 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2565/0.2565, allocations: 46.11 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 82.2 kB / 417.8 MB, free: 19.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.117, allocations: 62.44 MB / 480.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003934/0.121, allocations: 2.126 MB / 482.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.1236, allocations: 1.713 MB / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.734e-05/0.1237, allocations: 4 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.1241, allocations: 87.44 kB / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.1243, allocations: 59.42 kB / 484.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009068/0.1252, allocations: 358.6 kB / 484.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.1254, allocations: 155 kB / 484.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.296e-05/0.1255, allocations: 12.31 kB / 484.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.163e-05/0.1256, allocations: 51.67 kB / 484.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1257, allocations: 55.67 kB / 484.8 MB, free: 460 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1257, allocations: 4 kB / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.1269, allocations: 0.7879 MB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.127, allocations: 31.8 kB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.337e-05/0.1271, allocations: 71.47 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007669/0.1279, allocations: 0.5842 MB / 486.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1279, allocations: 3.938 kB / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1279, allocations: 3.938 kB / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1279, allocations: 0 / 486.3 MB, free: 14.96 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007313/0.1286, allocations: 0.5089 MB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1287, allocations: 12.03 kB / 486.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.02e-05/0.1288, allocations: 62.66 kB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.1288, allocations: 20.66 kB / 486.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.129, allocations: 219.2 kB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.1291, allocations: 16.44 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.1291, allocations: 16 kB / 487.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.1295, allocations: 263.5 kB / 487.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1295, allocations: 0 / 487.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1296, allocations: 8 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.1296, allocations: 8 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.1299, allocations: 161.3 kB / 487.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.1309, allocations: 0.9002 MB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.1311, allocations: 66.48 kB / 488.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1312, allocations: 28.95 kB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.1313, allocations: 3.984 kB / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1313, allocations: 34.55 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.1313, allocations: 0 / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004499/0.1318, allocations: 141.3 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.1318, allocations: 51.41 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.1321, allocations: 270.9 kB / 489.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1321, allocations: 25.7 kB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.1322, allocations: 179.1 kB / 489.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.1323, allocations: 27.62 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-05/0.1323, allocations: 49.61 kB / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1325, allocations: 338.8 kB / 489.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.1326, allocations: 40.2 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.1329, allocations: 188.2 kB / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.1333, allocations: 259.6 kB / 490.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.1333, allocations: 4 kB / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004815/0.1338, allocations: 256.8 kB / 490.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1338, allocations: 8 kB / 490.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.07e-05/0.1339, allocations: 16 kB / 490.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1339, allocations: 8.625 kB / 490.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.1341, allocations: 55.91 kB / 490.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.1341, allocations: 7.938 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.1342, allocations: 39.59 kB / 490.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.1343, allocations: 12 kB / 490.6 MB, free: 10.31 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.1344, allocations: 137.7 kB / 490.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.1345, allocations: 23.72 kB / 490.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.1348, allocations: 134.9 kB / 490.8 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1349, allocations: 3.938 kB / 490.9 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1349, allocations: 3.938 kB / 490.9 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1349, allocations: 0 / 490.9 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.1351, allocations: 229.5 kB / 491.1 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.1352, allocations: 12 kB / 491.1 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.205e-05/0.1352, allocations: 7.984 kB / 491.1 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1352, allocations: 4 kB / 491.1 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1352, allocations: 0 / 491.1 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1353, allocations: 3.938 kB / 491.1 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1353, allocations: 0 / 491.1 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.1356, allocations: 211.2 kB / 491.3 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.885e-05/0.1357, allocations: 92.92 kB / 491.4 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.1357, allocations: 0 / 491.4 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1358, allocations: 11.92 kB / 491.4 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.1359, allocations: 4 kB / 491.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.1359, allocations: 4 kB / 491.4 MB, free: 9.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001733/0.136, allocations: 182 kB / 491.6 MB, free: 9.164 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.054e-06/0.1361, allocations: 0 / 491.6 MB, free: 9.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004769/0.1365, allocations: 111.9 kB / 491.7 MB, free: 9.055 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009811/0.1375, allocations: 0.837 MB / 492.5 MB, free: 8.191 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004772/0.138, allocations: 196.2 kB / 492.7 MB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.138, allocations: 0 / 492.7 MB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.1382, allocations: 95.62 kB / 492.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1386, allocations: 32.75 kB / 492.9 MB, free: 7.852 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.1418, allocations: 2.503 MB / 495.4 MB, free: 5.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.1421, allocations: 0.7328 MB / 496.1 MB, free: 4.379 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.1423, allocations: 25.94 kB / 496.1 MB, free: 4.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.189e-05/0.1423, allocations: 59.42 kB / 496.2 MB, free: 4.293 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1424, allocations: 0 / 496.2 MB, free: 4.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03588/0.1782, allocations: 8.933 MB / 0.4933 GB, free: 11.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.08, allocations: 4.516 kB / 0.4933 GB, free: 11.57 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1)