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.0009832/0.0009834, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009347/0.0009348, allocations: 194.7 kB / 16.25 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.312/1.312, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.9279/0.9279, allocations: 143 MB / 433.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.89 kB / 0.5138 GB, free: 11.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1531, allocations: 82.04 MB / 0.5939 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002466/0.1556, allocations: 1.642 MB / 0.5955 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.1568, allocations: 0.9007 MB / 0.5964 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.546e-05/0.1569, allocations: 0 / 0.5964 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.157, allocations: 3.938 kB / 0.5964 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.1571, allocations: 19.86 kB / 0.5964 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.1574, allocations: 126 kB / 0.5965 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.1576, allocations: 71.72 kB / 0.5966 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.663e-05/0.1576, allocations: 12 kB / 0.5966 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.426e-05/0.1577, allocations: 39.84 kB / 0.5966 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1578, allocations: 35.84 kB / 0.5967 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1579, allocations: 4 kB / 0.5967 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003248/0.1582, allocations: 283.6 kB / 0.597 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.1582, allocations: 11.94 kB / 0.597 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.1583, allocations: 31.84 kB / 0.597 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.1585, allocations: 155.9 kB / 0.5971 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1585, allocations: 3.938 kB / 0.5972 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1585, allocations: 0 / 0.5972 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1585, allocations: 0 / 0.5972 GB, free: 6.43 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.0005615/0.1591, allocations: 410.3 kB / 0.5975 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1591, allocations: 8.031 kB / 0.5976 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.1591, allocations: 42.73 kB / 0.5976 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.1593, allocations: 12.84 kB / 0.5976 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.1595, allocations: 184.2 kB / 0.5978 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-06/0.1595, allocations: 384 / 0.5978 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.1595, allocations: 8.312 kB / 0.5978 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.1597, allocations: 69.77 kB / 0.5979 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.1597, allocations: 0 / 0.5979 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.1597, allocations: 0 / 0.5979 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1597, allocations: 4 kB / 0.5979 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1599, allocations: 47.91 kB / 0.5979 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.1603, allocations: 300.7 kB / 0.5982 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.1604, allocations: 50.56 kB / 0.5982 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.943e-05/0.1605, allocations: 28.97 kB / 0.5983 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.1605, allocations: 8 kB / 0.5983 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.1605, allocations: 42.48 kB / 0.5983 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.1605, allocations: 0 / 0.5983 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003031/0.1609, allocations: 101.6 kB / 0.5984 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.1609, allocations: 51.41 kB / 0.5985 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.725e-05/0.161, allocations: 131.7 kB / 0.5986 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.161, allocations: 33.7 kB / 0.5986 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.1611, allocations: 92.12 kB / 0.5987 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.1611, allocations: 19.75 kB / 0.5987 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.1611, allocations: 21.7 kB / 0.5987 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.1612, allocations: 322.8 kB / 0.5991 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.035e-05/0.1613, allocations: 19.98 kB / 0.5991 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/0.1614, allocations: 19.98 kB / 0.5991 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.1615, allocations: 64.77 kB / 0.5992 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1615, allocations: 0 / 0.5992 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001945/0.1617, allocations: 89.56 kB / 0.5992 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1618, allocations: 4 kB / 0.5992 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1618, allocations: 0 / 0.5992 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.1618, allocations: 3.938 kB / 0.5992 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1619, allocations: 15.98 kB / 0.5993 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1619, allocations: 4 kB / 0.5993 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.849e-05/0.162, allocations: 7.906 kB / 0.5993 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.162, allocations: 3.984 kB / 0.5993 GB, free: 4.023 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 0.0001158/0.1621, allocations: 121.7 kB / 0.5994 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.1621, allocations: 7.906 kB / 0.5994 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.1624, allocations: 97.95 kB / 0.5995 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1624, allocations: 8 kB / 0.5995 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1624, allocations: 0.5 kB / 0.5995 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1624, allocations: 0 / 0.5995 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.1626, allocations: 181.6 kB / 0.5997 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1626, allocations: 0 / 0.5997 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.061e-05/0.1627, allocations: 19.98 kB / 0.5997 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1627, allocations: 0 / 0.5997 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.1627, allocations: 3.938 kB / 0.5997 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1627, allocations: 7.938 kB / 0.5997 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1627, allocations: 0 / 0.5997 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.1629, allocations: 191.4 kB / 0.5999 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.163, allocations: 85.02 kB / 0.6 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.163, allocations: 0 / 0.6 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.762e-05/0.1631, allocations: 7.984 kB / 0.6 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.1632, allocations: 4 kB / 0.6 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.1632, allocations: 4 kB / 0.6 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.1632, allocations: 105.3 kB / 0.6001 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1632, allocations: 0 / 0.6001 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000226/0.1635, allocations: 31.94 kB / 0.6001 GB, free: 3.066 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.0005039/0.164, allocations: 0.7319 MB / 0.6008 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001861/0.1642, allocations: 59.95 kB / 0.6009 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1642, allocations: 0 / 0.6009 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.872e-05/0.1643, allocations: 35.92 kB / 0.6009 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.1645, allocations: 7.984 kB / 0.6009 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.1661, allocations: 1.473 MB / 0.6024 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2507/0.4168, allocations: 0.6876 MB / 0.603 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.924e-05/0.4169, allocations: 8.391 kB / 0.603 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.417, allocations: 23.77 kB / 0.6031 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of SimCode: time 6.92e-07/0.417, allocations: 0.5312 kB / 0.6031 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1963/0.6133, allocations: 2.163 MB / 0.6052 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/0.6134, allocations: 229.6 kB / 0.6054 GB, free: 43.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.173, allocations: 0 / 0.6054 GB, free: 43.31 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)