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.007298/0.007298, allocations: 104.4 kB / 15.74 MB, free: 6.039 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.001164/0.001164, allocations: 195.2 kB / 16.68 MB, free: 5.957 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.9102/0.9102, allocations: 143.1 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 68.08 kB / 0.5951 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1694, allocations: 82.03 MB / 0.6752 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003079/0.1725, allocations: 1.576 MB / 0.6767 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1741, allocations: 0.9044 MB / 0.6776 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1742, allocations: 0 / 0.6776 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.255e-05/0.1743, allocations: 7.875 kB / 0.6776 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.1746, allocations: 27.78 kB / 0.6776 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.1751, allocations: 150.3 kB / 0.6778 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.1753, allocations: 71.72 kB / 0.6778 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1754, allocations: 15.98 kB / 0.6779 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1755, allocations: 39.78 kB / 0.6779 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.1757, allocations: 31.84 kB / 0.6779 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.1757, allocations: 4 kB / 0.6779 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.1761, allocations: 283.7 kB / 0.6782 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.1762, allocations: 15.98 kB / 0.6782 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.232e-05/0.1762, allocations: 31.8 kB / 0.6782 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.1765, allocations: 150.5 kB / 0.6784 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1766, allocations: 0 / 0.6784 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1766, allocations: 0 / 0.6784 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.1766, allocations: 0 / 0.6784 GB, free: 7.52 MB / 0.5137 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.0007102/0.1773, allocations: 417.6 kB / 0.6788 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1773, allocations: 16.03 kB / 0.6788 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/0.1774, allocations: 30.75 kB / 0.6788 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.1775, allocations: 12.83 kB / 0.6788 GB, free: 7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.1778, allocations: 189.9 kB / 0.679 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.1779, allocations: 4.375 kB / 0.679 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.1779, allocations: 4.312 kB / 0.679 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.1781, allocations: 69.78 kB / 0.6791 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.1781, allocations: 0 / 0.6791 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1781, allocations: 4 kB / 0.6791 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1781, allocations: 4 kB / 0.6791 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.1783, allocations: 39.97 kB / 0.6791 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.1788, allocations: 304.6 kB / 0.6794 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.179, allocations: 58.55 kB / 0.6795 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1791, allocations: 28.97 kB / 0.6795 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1791, allocations: 0 / 0.6795 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1791, allocations: 34.55 kB / 0.6795 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1791, allocations: 0 / 0.6795 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.0003857/0.1795, allocations: 109.5 kB / 0.6797 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1796, allocations: 59.41 kB / 0.6797 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.1797, allocations: 128.6 kB / 0.6798 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1797, allocations: 25.7 kB / 0.6799 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.1798, allocations: 100.1 kB / 0.6799 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.1798, allocations: 15.75 kB / 0.68 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.1798, allocations: 21.7 kB / 0.68 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1799, allocations: 322.8 kB / 0.6803 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/0.18, allocations: 23.98 kB / 0.6803 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.1801, allocations: 19.98 kB / 0.6803 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.1802, allocations: 61.2 kB / 0.6804 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1803, allocations: 0 / 0.6804 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002107/0.1805, allocations: 93.5 kB / 0.6805 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1805, allocations: 4 kB / 0.6805 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1805, allocations: 4 kB / 0.6805 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1805, allocations: 4 kB / 0.6805 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1806, allocations: 11.98 kB / 0.6805 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1807, allocations: 0 / 0.6805 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.359e-05/0.1807, allocations: 7.938 kB / 0.6805 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1808, allocations: 7.984 kB / 0.6805 GB, free: 5.102 MB / 0.5137 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.965e-05/0.1808, allocations: 117.8 kB / 0.6806 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.1809, allocations: 3.906 kB / 0.6806 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.1812, allocations: 113.9 kB / 0.6807 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1812, allocations: 0 / 0.6807 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1812, allocations: 0 / 0.6807 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1812, allocations: 0 / 0.6807 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.1814, allocations: 189.5 kB / 0.6809 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1814, allocations: 0 / 0.6809 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.794e-05/0.1815, allocations: 15.98 kB / 0.6809 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1815, allocations: 0 / 0.6809 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1815, allocations: 3.938 kB / 0.6809 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1815, allocations: 0 / 0.6809 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1815, allocations: 4 kB / 0.6809 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.1818, allocations: 187.6 kB / 0.6811 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.1818, allocations: 92.95 kB / 0.6812 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.1818, allocations: 0 / 0.6812 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.1819, allocations: 11.98 kB / 0.6812 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/0.182, allocations: 4 kB / 0.6812 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.182, allocations: 4 kB / 0.6812 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.703e-05/0.1821, allocations: 103.2 kB / 0.6813 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1821, allocations: 0 / 0.6813 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002652/0.1823, allocations: 23.91 kB / 0.6814 GB, free: 4.141 MB / 0.5137 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.0006332/0.183, allocations: 0.7319 MB / 0.6821 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.1832, allocations: 55.95 kB / 0.6821 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1832, allocations: 0 / 0.6821 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.625e-05/0.1833, allocations: 35.92 kB / 0.6822 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.1836, allocations: 7.906 kB / 0.6822 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.1853, allocations: 1.456 MB / 0.6836 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.1855, allocations: 0.6885 MB / 0.6843 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.895e-05/0.1856, allocations: 4 kB / 0.6843 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.1857, allocations: 27.42 kB / 0.6843 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/0.1857, allocations: 3.938 kB / 0.6843 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.2055, allocations: 2.359 MB / 0.6866 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/7.868, allocations: 14.17 kB / 0.6866 GB, free: 14.79 MB / 0.5294 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)