Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_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.001378/0.001378, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 201.6 kB / 16.26 MB, free: 6.621 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.263/1.263, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002033, allocations: 298.2 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9355/0.9355, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 94.66 kB / 0.5948 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1345, allocations: 86.98 MB / 0.6797 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002785/0.1373, allocations: 2.159 MB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1387, allocations: 1.035 MB / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.1388, allocations: 0.5312 kB / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.818e-05/0.1388, allocations: 21.7 kB / 0.6829 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.1391, allocations: 75.41 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1394, allocations: 158.6 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.1397, allocations: 298.8 kB / 0.6834 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1399, allocations: 68.58 kB / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.14, allocations: 107.6 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.1401, allocations: 143.3 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.1402, allocations: 20 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003541/0.1405, allocations: 295.6 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.1406, allocations: 51.77 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.783e-05/0.1407, allocations: 119.3 kB / 0.6842 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.141, allocations: 318.9 kB / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.141, allocations: 4 kB / 0.6845 GB, free: 12.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.141, allocations: 3.938 kB / 0.6845 GB, free: 12.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.141, allocations: 0 / 0.6845 GB, free: 12.06 MB / 494.1 MB 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.0009259/0.142, allocations: 0.6232 MB / 0.6851 GB, free: 11.39 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.142, allocations: 8.031 kB / 0.6851 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.167e-05/0.1421, allocations: 46.73 kB / 0.6851 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.1422, allocations: 40.55 kB / 0.6852 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.1425, allocations: 283.5 kB / 0.6854 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1425, allocations: 12.66 kB / 0.6854 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.1426, allocations: 16.38 kB / 0.6855 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.1431, allocations: 232.7 kB / 0.6857 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1431, allocations: 0 / 0.6857 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.1431, allocations: 4 kB / 0.6857 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1431, allocations: 4 kB / 0.6857 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006014/0.1437, allocations: 203.7 kB / 0.6859 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009839/0.1447, allocations: 0.9385 MB / 0.6868 GB, free: 9.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007196/0.1454, allocations: 245.2 kB / 0.687 GB, free: 9.223 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.1457, allocations: 109.6 kB / 0.6871 GB, free: 9.109 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1458, allocations: 0 / 0.6871 GB, free: 9.109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.1458, allocations: 34.5 kB / 0.6872 GB, free: 9.066 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.1458, allocations: 4 kB / 0.6872 GB, free: 9.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001055/0.1469, allocations: 341.4 kB / 0.6875 GB, free: 8.723 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.1469, allocations: 77.11 kB / 0.6876 GB, free: 8.629 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.1471, allocations: 267 kB / 0.6878 GB, free: 8.359 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1472, allocations: 29.7 kB / 0.6879 GB, free: 8.324 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/0.1473, allocations: 164.1 kB / 0.688 GB, free: 8.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.1473, allocations: 55.19 kB / 0.6881 GB, free: 8.105 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.561e-05/0.1474, allocations: 41.7 kB / 0.6881 GB, free: 8.059 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.1475, allocations: 338.8 kB / 0.6884 GB, free: 7.719 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.1478, allocations: 95.91 kB / 0.6885 GB, free: 7.625 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.1481, allocations: 141.9 kB / 0.6887 GB, free: 7.465 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006113/0.1487, allocations: 245.7 kB / 0.6889 GB, free: 7.203 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1488, allocations: 0 / 0.6889 GB, free: 7.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007482/0.1495, allocations: 297 kB / 0.6892 GB, free: 6.906 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1495, allocations: 4 kB / 0.6892 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1495, allocations: 0 / 0.6892 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1496, allocations: 4 kB / 0.6892 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.1498, allocations: 67.88 kB / 0.6892 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1498, allocations: 128 / 0.6892 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.1501, allocations: 43.72 kB / 0.6893 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.1501, allocations: 8 kB / 0.6893 GB, free: 6.781 MB / 494.1 MB 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.000103/0.1502, allocations: 135.1 kB / 0.6894 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.1503, allocations: 31.64 kB / 0.6895 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007464/0.1511, allocations: 280.1 kB / 0.6897 GB, free: 6.328 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1511, allocations: 4.094 kB / 0.6897 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1511, allocations: 3.938 kB / 0.6897 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1511, allocations: 3.984 kB / 0.6897 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.1514, allocations: 305.2 kB / 0.69 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1514, allocations: 0 / 0.69 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.1517, allocations: 55.95 kB / 0.6901 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1517, allocations: 0 / 0.6901 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1517, allocations: 4 kB / 0.6901 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1517, allocations: 0 / 0.6901 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1517, allocations: 0 / 0.6901 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007599/0.1525, allocations: 450.2 kB / 0.6905 GB, free: 5.453 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.1526, allocations: 100.7 kB / 0.6906 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.1526, allocations: 8 kB / 0.6906 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.1529, allocations: 27.95 kB / 0.6906 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.1529, allocations: 15.98 kB / 0.6907 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.153, allocations: 11.98 kB / 0.6907 GB, free: 5.273 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.1531, allocations: 182 kB / 0.6908 GB, free: 5.102 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1531, allocations: 0 / 0.6908 GB, free: 5.102 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003316/0.1535, allocations: 59.98 kB / 0.6909 GB, free: 5.043 MB / 494.1 MB 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.001047/0.1545, allocations: 0.9952 MB / 0.6919 GB, free: 4.023 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006855/0.1552, allocations: 240 kB / 0.6921 GB, free: 3.789 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1552, allocations: 0 / 0.6921 GB, free: 3.789 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.1555, allocations: 116.2 kB / 0.6922 GB, free: 3.676 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.1561, allocations: 77.17 kB / 0.6923 GB, free: 3.602 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/0.1596, allocations: 2.777 MB / 0.695 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.1599, allocations: 0.7599 MB / 0.6957 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001429/0.16, allocations: 30.28 kB / 0.6958 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.1602, allocations: 83.41 kB / 0.6958 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1602, allocations: 0 / 0.6958 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3141/0.4743, allocations: 6.195 MB / 0.7019 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.4745, allocations: 222.5 kB / 0.7021 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.294, allocations: 4.062 kB / 0.7021 GB, free: 9.598 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)