Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001644/0.001644, allocations: 108 kB / 15.6 MB, free: 132 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.001799/0.001799, allocations: 198.2 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9154/0.9154, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001244, allocations: 65.84 kB / 0.5055 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1343, allocations: 80.92 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003011/0.1373, allocations: 2.112 MB / 0.5865 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1388, allocations: 1.029 MB / 0.5875 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.826e-05/0.1389, allocations: 7.938 kB / 0.5876 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.33e-05/0.139, allocations: 27.66 kB / 0.5876 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.1392, allocations: 87.27 kB / 0.5877 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.1396, allocations: 183.5 kB / 0.5878 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.1399, allocations: 286.8 kB / 0.5881 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1401, allocations: 76.91 kB / 0.5882 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1402, allocations: 107.5 kB / 0.5883 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.1404, allocations: 139.4 kB / 0.5884 GB, free: 384 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.1404, allocations: 23.94 kB / 0.5884 GB, free: 360 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.1408, allocations: 299.6 kB / 0.5887 GB, free: 60 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.1409, allocations: 47.84 kB / 0.5888 GB, free: 12 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.141, allocations: 119.3 kB / 0.5889 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.1413, allocations: 322.9 kB / 0.5892 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1413, allocations: 0 / 0.5892 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1413, allocations: 0 / 0.5892 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.1414, allocations: 0 / 0.5892 GB, free: 15.58 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001008/0.1424, allocations: 0.6272 MB / 0.5898 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1424, allocations: 8.031 kB / 0.5898 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.1425, allocations: 50.73 kB / 0.5899 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.1427, allocations: 36.56 kB / 0.5899 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.143, allocations: 283.5 kB / 0.5902 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.143, allocations: 8.656 kB / 0.5902 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.143, allocations: 19.94 kB / 0.5902 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.1435, allocations: 228.6 kB / 0.5904 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.1436, allocations: 0 / 0.5904 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.1436, allocations: 8 kB / 0.5904 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1436, allocations: 4 kB / 0.5904 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006826/0.1443, allocations: 195.8 kB / 0.5906 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.1453, allocations: 0.9462 MB / 0.5915 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000768/0.1461, allocations: 237.2 kB / 0.5918 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.1465, allocations: 113.6 kB / 0.5919 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1465, allocations: 0 / 0.5919 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.1465, allocations: 42.5 kB / 0.5919 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.1465, allocations: 0 / 0.5919 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001181/0.1477, allocations: 333.4 kB / 0.5922 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.1478, allocations: 89.05 kB / 0.5923 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.148, allocations: 263 kB / 0.5926 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.148, allocations: 33.7 kB / 0.5926 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.1481, allocations: 156.2 kB / 0.5927 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.1482, allocations: 59.19 kB / 0.5928 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/0.1483, allocations: 41.64 kB / 0.5928 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1484, allocations: 338.8 kB / 0.5932 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.1487, allocations: 87.92 kB / 0.5933 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.1491, allocations: 143.9 kB / 0.5934 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006843/0.1498, allocations: 246.3 kB / 0.5936 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1498, allocations: 0 / 0.5936 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008403/0.1506, allocations: 300.9 kB / 0.5939 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.1506, allocations: 4 kB / 0.5939 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1507, allocations: 4 kB / 0.5939 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1507, allocations: 0 / 0.5939 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.151, allocations: 60.11 kB / 0.594 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.151, allocations: 7.938 kB / 0.594 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.1512, allocations: 39.8 kB / 0.594 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.1513, allocations: 12 kB / 0.594 GB, free: 10.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001069/0.1514, allocations: 129.8 kB / 0.5942 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.1515, allocations: 27.72 kB / 0.5942 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008325/0.1523, allocations: 291.3 kB / 0.5945 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.1523, allocations: 4 kB / 0.5945 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1524, allocations: 4 kB / 0.5945 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1524, allocations: 3.984 kB / 0.5945 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.1527, allocations: 297.3 kB / 0.5948 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1527, allocations: 0 / 0.5948 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.153, allocations: 55.89 kB / 0.5948 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.153, allocations: 0 / 0.5948 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.153, allocations: 8 kB / 0.5948 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1531, allocations: 0 / 0.5948 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1531, allocations: 3.938 kB / 0.5948 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008424/0.1539, allocations: 450.1 kB / 0.5952 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.154, allocations: 108.8 kB / 0.5954 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.154, allocations: 4 kB / 0.5954 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.1543, allocations: 27.95 kB / 0.5954 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.1544, allocations: 15.98 kB / 0.5954 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.1544, allocations: 4 kB / 0.5954 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001601/0.1546, allocations: 194 kB / 0.5956 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1546, allocations: 0 / 0.5956 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003479/0.1549, allocations: 51.91 kB / 0.5956 GB, free: 8.551 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001146/0.1561, allocations: 0.9944 MB / 0.5966 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007717/0.1569, allocations: 240 kB / 0.5968 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1569, allocations: 0 / 0.5968 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003699/0.1573, allocations: 112.3 kB / 0.5969 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.1579, allocations: 75.44 kB / 0.597 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.1617, allocations: 2.712 MB / 0.5997 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.162, allocations: 0.7519 MB / 0.6004 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001448/0.1622, allocations: 34.28 kB / 0.6004 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.1623, allocations: 83.41 kB / 0.6005 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1623, allocations: 0 / 0.6005 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2401/0.4024, allocations: 6.452 MB / 0.6068 GB, free: 52.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.558, allocations: 10.66 kB / 0.6068 GB, free: 52.6 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)