Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.HADryCoil,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.005348/0.005348, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001223/0.001223, allocations: 199.4 kB / 16.68 MB, free: 5.926 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.8427/0.8427, allocations: 143.1 MB / 433.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 64.84 kB / 0.5951 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1631, 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.HADryCoil): time 0.003443/0.1666, allocations: 2.114 MB / 0.6772 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.1684, allocations: 1.048 MB / 0.6783 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.1685, allocations: 7.938 kB / 0.6783 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.518e-05/0.1686, allocations: 27.66 kB / 0.6783 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.169, allocations: 75.3 kB / 0.6784 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.1695, allocations: 199.4 kB / 0.6786 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.1698, allocations: 294.7 kB / 0.6788 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.17, allocations: 67.52 kB / 0.6789 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.1701, allocations: 103.6 kB / 0.679 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.1704, allocations: 143.3 kB / 0.6791 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.1704, allocations: 16 kB / 0.6792 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/0.1709, allocations: 303.6 kB / 0.6794 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.583e-05/0.1709, allocations: 51.78 kB / 0.6795 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.1711, allocations: 123.2 kB / 0.6796 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.1715, allocations: 339.7 kB / 0.6799 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1715, allocations: 0 / 0.6799 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1715, allocations: 0 / 0.6799 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.1715, allocations: 0 / 0.6799 GB, free: 5.934 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001129/0.1726, allocations: 0.6271 MB / 0.6805 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1727, allocations: 8.031 kB / 0.6806 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.803e-05/0.1727, allocations: 46.73 kB / 0.6806 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002244/0.173, allocations: 36.56 kB / 0.6806 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.1734, allocations: 287.5 kB / 0.6809 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1734, allocations: 8.656 kB / 0.6809 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.1734, allocations: 20.38 kB / 0.6809 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004902/0.1739, allocations: 237.3 kB / 0.6812 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.174, allocations: 0 / 0.6812 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.174, allocations: 4 kB / 0.6812 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.174, allocations: 4 kB / 0.6812 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005785/0.1746, allocations: 199.8 kB / 0.6814 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.1757, allocations: 0.9422 MB / 0.6823 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007554/0.1765, allocations: 245.2 kB / 0.6825 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.1768, allocations: 109.6 kB / 0.6826 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.1768, allocations: 0 / 0.6826 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1769, allocations: 34.55 kB / 0.6827 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.1769, allocations: 4 kB / 0.6827 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.00104/0.1779, allocations: 337.4 kB / 0.683 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.178, allocations: 77.11 kB / 0.683 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.1782, allocations: 271 kB / 0.6833 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.1783, allocations: 29.7 kB / 0.6833 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1784, allocations: 160.1 kB / 0.6835 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.1784, allocations: 51.2 kB / 0.6835 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.189e-05/0.1785, allocations: 41.7 kB / 0.6836 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1786, allocations: 334.8 kB / 0.6839 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.1789, allocations: 99.84 kB / 0.684 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.1792, allocations: 135.3 kB / 0.6841 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005999/0.1798, allocations: 253.7 kB / 0.6844 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1798, allocations: 0 / 0.6844 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007849/0.1806, allocations: 289.1 kB / 0.6846 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1807, allocations: 5.875 kB / 0.6846 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.1807, allocations: 3.984 kB / 0.6846 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.1807, allocations: 4 kB / 0.6847 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.181, allocations: 63.89 kB / 0.6847 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.181, allocations: 7.938 kB / 0.6847 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.1812, allocations: 43.83 kB / 0.6848 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.1812, allocations: 8 kB / 0.6848 GB, free: 0.6484 MB / 0.5137 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.0001112/0.1813, allocations: 134.4 kB / 0.6849 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.1815, allocations: 27.66 kB / 0.6849 GB, free: 492 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007064/0.1822, allocations: 287.8 kB / 0.6852 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1822, allocations: 4 kB / 0.6852 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1822, allocations: 0 / 0.6852 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1822, allocations: 0 / 0.6852 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.1826, allocations: 297.4 kB / 0.6855 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1826, allocations: 7.984 kB / 0.6855 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.1829, allocations: 59.8 kB / 0.6856 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1829, allocations: 0 / 0.6856 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.1829, allocations: 4 kB / 0.6856 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1829, allocations: 0 / 0.6856 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1829, allocations: 288 / 0.6856 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007434/0.1837, allocations: 448.3 kB / 0.686 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.1837, allocations: 112.6 kB / 0.6861 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.1838, allocations: 4 kB / 0.6861 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.184, allocations: 27.97 kB / 0.6861 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/0.1841, allocations: 19.97 kB / 0.6861 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.1841, allocations: 12 kB / 0.6862 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001669/0.1843, allocations: 186 kB / 0.6863 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1843, allocations: 0 / 0.6863 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003694/0.1847, allocations: 56.25 kB / 0.6864 GB, free: 14.9 MB / 0.5294 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.001094/0.1858, allocations: 0.9924 MB / 0.6874 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006974/0.1865, allocations: 229.1 kB / 0.6876 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.1865, allocations: 8.062 kB / 0.6876 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.1868, allocations: 115.8 kB / 0.6877 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.1874, allocations: 73.28 kB / 0.6878 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.1911, allocations: 2.696 MB / 0.6904 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.1914, allocations: 0.7518 MB / 0.6911 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.1916, allocations: 34.42 kB / 0.6912 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.1917, allocations: 90.66 kB / 0.6912 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/0.1917, allocations: 3.938 kB / 0.6912 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.2139, allocations: 6.575 MB / 0.6977 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.755/7.968, allocations: 4.812 kB / 0.6977 GB, free: 3.367 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)