Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.001302/0.001302, 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.001238/0.001238, allocations: 194.7 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9635/0.9635, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 67.89 kB / 0.5143 GB, free: 11.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1493, allocations: 82.06 MB / 0.5944 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002479/0.1518, allocations: 1.558 MB / 0.5959 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1531, allocations: 0.9083 MB / 0.5968 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.1531, allocations: 0 / 0.5968 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.1532, allocations: 11.88 kB / 0.5968 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.1533, allocations: 23.78 kB / 0.5969 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.1537, allocations: 135.6 kB / 0.597 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.1538, allocations: 71.78 kB / 0.597 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.801e-05/0.1539, allocations: 19.97 kB / 0.5971 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/0.154, allocations: 35.8 kB / 0.5971 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.1541, allocations: 35.84 kB / 0.5971 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1541, allocations: 4 kB / 0.5971 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003563/0.1545, allocations: 283.7 kB / 0.5974 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.1545, allocations: 15.91 kB / 0.5974 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.1545, allocations: 31.8 kB / 0.5975 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1548, allocations: 151.9 kB / 0.5976 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1548, allocations: 3.984 kB / 0.5976 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1548, allocations: 4 kB / 0.5976 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.1548, allocations: 0 / 0.5976 GB, free: 6.129 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005005/0.1553, allocations: 407.1 kB / 0.598 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.1553, allocations: 8.031 kB / 0.598 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.976e-05/0.1554, allocations: 34.75 kB / 0.598 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.1555, allocations: 12.83 kB / 0.5981 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.1556, allocations: 188.2 kB / 0.5982 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-06/0.1557, allocations: 8.375 kB / 0.5982 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.1557, allocations: 4.375 kB / 0.5982 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1558, allocations: 69.77 kB / 0.5983 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1559, allocations: 0 / 0.5983 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1559, allocations: 0 / 0.5983 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1559, allocations: 4 kB / 0.5983 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.156, allocations: 39.97 kB / 0.5984 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.1564, allocations: 304.7 kB / 0.5986 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.1566, allocations: 50.5 kB / 0.5987 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.94e-05/0.1567, allocations: 24.97 kB / 0.5987 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.1567, allocations: 4 kB / 0.5987 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.1567, allocations: 38.56 kB / 0.5988 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.1567, allocations: 0 / 0.5988 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003481/0.1571, allocations: 113.5 kB / 0.5989 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.1571, allocations: 51.41 kB / 0.5989 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.741e-05/0.1572, allocations: 133.8 kB / 0.599 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.1572, allocations: 25.7 kB / 0.5991 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.1573, allocations: 92.14 kB / 0.5992 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.1573, allocations: 23.73 kB / 0.5992 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.1573, allocations: 13.72 kB / 0.5992 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.1574, allocations: 326.8 kB / 0.5995 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.1575, allocations: 19.98 kB / 0.5995 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.1576, allocations: 23.98 kB / 0.5995 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.1578, allocations: 56.83 kB / 0.5996 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1578, allocations: 0 / 0.5996 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00022/0.158, allocations: 93.5 kB / 0.5997 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.158, allocations: 4 kB / 0.5997 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.158, allocations: 0 / 0.5997 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.158, allocations: 3.938 kB / 0.5997 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.1582, allocations: 15.98 kB / 0.5997 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.1582, allocations: 0 / 0.5997 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.1582, allocations: 15.91 kB / 0.5997 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1583, allocations: 3.938 kB / 0.5997 GB, free: 3.727 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 7.208e-05/0.1583, allocations: 121.8 kB / 0.5998 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.1584, allocations: 7.906 kB / 0.5998 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.1586, allocations: 97.91 kB / 0.5999 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1587, allocations: 0 / 0.5999 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.1587, allocations: 0 / 0.5999 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1587, allocations: 7.984 kB / 0.5999 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.1588, allocations: 190.1 kB / 0.6001 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1589, allocations: 4 kB / 0.6001 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.826e-05/0.159, allocations: 11.98 kB / 0.6001 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.159, allocations: 4 kB / 0.6002 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.159, allocations: 4 kB / 0.6002 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.159, allocations: 0 / 0.6002 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.159, allocations: 3.984 kB / 0.6002 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.1592, allocations: 195.3 kB / 0.6003 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.1593, allocations: 85.02 kB / 0.6004 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.1593, allocations: 4 kB / 0.6004 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/0.1594, allocations: 4 kB / 0.6004 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.1595, allocations: 3.984 kB / 0.6004 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1595, allocations: 4 kB / 0.6004 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.447e-05/0.1595, allocations: 101 kB / 0.6005 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1595, allocations: 0 / 0.6005 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002485/0.1598, allocations: 27.94 kB / 0.6006 GB, free: 2.77 MB / 0.4981 GB 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 (6): * Single equations (assignments): 6 * 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.0005181/0.1603, allocations: 0.7358 MB / 0.6013 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.1605, allocations: 55.91 kB / 0.6013 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1605, allocations: 4 kB / 0.6013 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.752e-05/0.1606, allocations: 31.97 kB / 0.6014 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.1609, allocations: 8 kB / 0.6014 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.1624, allocations: 1.455 MB / 0.6028 GB, free: 388 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2104/0.3727, allocations: 0.6859 MB / 0.6035 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.735e-05/0.3728, allocations: 7.047 kB / 0.6035 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.531e-05/0.3729, allocations: 20.64 kB / 0.6035 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/0.3729, allocations: 0 / 0.6035 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.4007, allocations: 2.289 MB / 0.6057 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.08/7.481, allocations: 7.641 kB / 0.6057 GB, free: 43.29 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)