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.001259/0.001259, 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.001227/0.001227, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002491/0.002491, allocations: 293.9 kB / 290.7 MB, free: 1.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 178.6 MB / 0.5073 GB, free: 4.551 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 98.8 kB / 0.6065 GB, free: 24.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1506, allocations: 89.15 MB / 0.6936 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003484/0.1541, allocations: 2.119 MB / 0.6957 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1558, allocations: 1.043 MB / 0.6967 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1559, allocations: 7.938 kB / 0.6967 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.724e-05/0.156, allocations: 23.67 kB / 0.6967 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.1563, allocations: 81.78 kB / 0.6968 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.1567, allocations: 196.2 kB / 0.697 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.157, allocations: 282.9 kB / 0.6973 GB, free: 444 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.1572, allocations: 64.94 kB / 0.6973 GB, free: 380 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.1573, allocations: 115.5 kB / 0.6974 GB, free: 264 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.1576, allocations: 139.4 kB / 0.6976 GB, free: 124 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.1576, allocations: 19.94 kB / 0.6976 GB, free: 104 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.1581, allocations: 299.6 kB / 0.6979 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.1581, allocations: 55.77 kB / 0.6979 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.1583, allocations: 115.3 kB / 0.698 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003954/0.1587, allocations: 322.9 kB / 0.6983 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1587, allocations: 0 / 0.6983 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1587, allocations: 0 / 0.6983 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.1587, allocations: 4 kB / 0.6983 GB, free: 15.32 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.001125/0.1598, allocations: 0.6271 MB / 0.699 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1599, allocations: 12.03 kB / 0.699 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.641e-05/0.1599, allocations: 46.73 kB / 0.699 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.1602, allocations: 36.56 kB / 0.699 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.1605, allocations: 271.5 kB / 0.6993 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1605, allocations: 12.66 kB / 0.6993 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.1606, allocations: 12.38 kB / 0.6993 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.1611, allocations: 244.7 kB / 0.6996 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1611, allocations: 0 / 0.6996 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.1612, allocations: 8 kB / 0.6996 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1612, allocations: 4 kB / 0.6996 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00071/0.1619, allocations: 197.1 kB / 0.6998 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.1631, allocations: 0.9422 MB / 0.7007 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008112/0.1639, allocations: 241.2 kB / 0.7009 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003626/0.1643, allocations: 105.6 kB / 0.701 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.1643, allocations: 4.297 kB / 0.701 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.1644, allocations: 46.48 kB / 0.7011 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.1644, allocations: 0 / 0.7011 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001227/0.1656, allocations: 325.7 kB / 0.7014 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.1657, allocations: 85.05 kB / 0.7014 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.166, allocations: 270.9 kB / 0.7017 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.166, allocations: 25.7 kB / 0.7017 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.1661, allocations: 160.2 kB / 0.7019 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.1662, allocations: 55.2 kB / 0.7019 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.968e-05/0.1663, allocations: 41.7 kB / 0.702 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1664, allocations: 338.8 kB / 0.7023 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.1668, allocations: 87.91 kB / 0.7024 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.1672, allocations: 144.6 kB / 0.7025 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007255/0.1679, allocations: 249.7 kB / 0.7028 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1679, allocations: 0 / 0.7028 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008943/0.1688, allocations: 300.9 kB / 0.703 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1689, allocations: 4 kB / 0.7031 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1689, allocations: 12.09 kB / 0.7031 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1689, allocations: 3.984 kB / 0.7031 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.1692, allocations: 59.95 kB / 0.7031 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1692, allocations: 7.938 kB / 0.7031 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.1695, allocations: 35.81 kB / 0.7032 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.1695, allocations: 15.98 kB / 0.7032 GB, free: 10.04 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.0001219/0.1696, allocations: 129.8 kB / 0.7033 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.1698, allocations: 27.66 kB / 0.7033 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008918/0.1706, allocations: 287.1 kB / 0.7036 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1707, allocations: 4 kB / 0.7036 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1707, allocations: 3.984 kB / 0.7036 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1707, allocations: 0 / 0.7036 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.1711, allocations: 297.3 kB / 0.7039 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1711, allocations: 4 kB / 0.7039 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/0.1714, allocations: 55.88 kB / 0.704 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1714, allocations: 4 kB / 0.704 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1714, allocations: 8 kB / 0.704 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1714, allocations: 288 / 0.704 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1714, allocations: 0 / 0.704 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009429/0.1724, allocations: 452 kB / 0.7044 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.806e-05/0.1725, allocations: 108.8 kB / 0.7045 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.1725, allocations: 0 / 0.7045 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.1728, allocations: 27.97 kB / 0.7045 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.1729, allocations: 19.97 kB / 0.7045 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1729, allocations: 8 kB / 0.7046 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002061/0.1731, allocations: 190 kB / 0.7047 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1731, allocations: 0 / 0.7047 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003607/0.1735, allocations: 51.91 kB / 0.7048 GB, free: 8.293 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.001299/0.1748, allocations: 0.9908 MB / 0.7058 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000793/0.1756, allocations: 235.6 kB / 0.706 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1756, allocations: 0 / 0.706 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.176, allocations: 124.2 kB / 0.7061 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.1766, allocations: 66.12 kB / 0.7062 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.1808, allocations: 2.724 MB / 0.7088 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.1812, allocations: 0.7519 MB / 0.7096 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001443/0.1813, allocations: 26.28 kB / 0.7096 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.1815, allocations: 91.41 kB / 0.7097 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1815, allocations: 0 / 0.7097 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.2102, allocations: 6.483 MB / 0.716 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/7.925, allocations: 16.17 kB / 0.716 GB, free: 12.84 MB / 0.5137 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)