Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.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.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",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.005457/0.005458, allocations: 96.8 kB / 15.73 MB, free: 5.547 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.001219/0.00122, allocations: 190 kB / 16.67 MB, free: 5.48 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.9306/0.9306, allocations: 143 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001189, allocations: 68.64 kB / 0.5951 GB, free: 12.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1677, allocations: 82.03 MB / 0.6752 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003662/0.1714, allocations: 1.776 MB / 0.6769 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1729, allocations: 0.6553 MB / 0.6775 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.173, allocations: 4 kB / 0.6775 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.32e-05/0.1731, allocations: 15.86 kB / 0.6776 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.1732, allocations: 15.8 kB / 0.6776 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008408/0.1741, allocations: 162.8 kB / 0.6777 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.1743, allocations: 131.6 kB / 0.6779 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.1745, allocations: 48.95 kB / 0.6779 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.1747, allocations: 59.83 kB / 0.678 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1748, allocations: 47.77 kB / 0.678 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.1748, allocations: 12 kB / 0.678 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.175, allocations: 43.97 kB / 0.6781 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.175, allocations: 35.83 kB / 0.6781 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.652e-05/0.1751, allocations: 51.73 kB / 0.6781 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.1754, allocations: 163.5 kB / 0.6783 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1754, allocations: 0 / 0.6783 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1754, allocations: 0 / 0.6783 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.1754, allocations: 0 / 0.6783 GB, free: 7.613 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007275/0.1762, allocations: 442.8 kB / 0.6787 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/0.1762, allocations: 15.97 kB / 0.6787 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.194e-05/0.1763, allocations: 34.75 kB / 0.6788 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009411/0.1772, allocations: 112.7 kB / 0.6789 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1775, allocations: 188.2 kB / 0.6791 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.1776, allocations: 63.97 kB / 0.6791 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.1776, allocations: 4.375 kB / 0.6791 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.1782, allocations: 176.1 kB / 0.6793 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1782, allocations: 0 / 0.6793 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.1783, allocations: 7.984 kB / 0.6793 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1783, allocations: 4 kB / 0.6793 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006443/0.1789, allocations: 155.8 kB / 0.6795 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.1802, allocations: 485.9 kB / 0.6799 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.1813, allocations: 218.3 kB / 0.6801 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.1817, allocations: 80.91 kB / 0.6802 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.1817, allocations: 0 / 0.6802 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.1817, allocations: 46.5 kB / 0.6802 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1818, allocations: 0 / 0.6802 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.001215/0.183, allocations: 261.5 kB / 0.6805 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.183, allocations: 55.41 kB / 0.6805 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1832, allocations: 139.5 kB / 0.6807 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.1832, allocations: 25.7 kB / 0.6807 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.1833, allocations: 112.2 kB / 0.6808 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.1834, allocations: 23.84 kB / 0.6808 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-05/0.1834, allocations: 21.7 kB / 0.6809 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1836, allocations: 318.8 kB / 0.6812 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.1839, allocations: 75.97 kB / 0.6812 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.1842, allocations: 98.44 kB / 0.6813 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006109/0.1848, allocations: 162.4 kB / 0.6815 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1849, allocations: 0 / 0.6815 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006888/0.1855, allocations: 205.4 kB / 0.6817 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1856, allocations: 4 kB / 0.6817 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1856, allocations: 7.938 kB / 0.6817 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1856, allocations: 0 / 0.6817 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.1859, allocations: 43.88 kB / 0.6817 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1859, allocations: 4.062 kB / 0.6817 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.1861, allocations: 23.91 kB / 0.6818 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.1862, allocations: 4 kB / 0.6818 GB, free: 3.805 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001168/0.1863, allocations: 118.7 kB / 0.6819 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.1863, allocations: 11.94 kB / 0.6819 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007527/0.1871, allocations: 210.1 kB / 0.6821 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1871, allocations: 0 / 0.6821 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1871, allocations: 4 kB / 0.6821 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1871, allocations: 3.938 kB / 0.6821 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.1874, allocations: 245.9 kB / 0.6823 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1875, allocations: 0 / 0.6823 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.1877, allocations: 43.94 kB / 0.6824 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.1877, allocations: 0 / 0.6824 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1877, allocations: 3.938 kB / 0.6824 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1877, allocations: 128 / 0.6824 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1877, allocations: 4 kB / 0.6824 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007205/0.1885, allocations: 283.3 kB / 0.6826 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.1885, allocations: 85.06 kB / 0.6827 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.1886, allocations: 7.875 kB / 0.6827 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.1889, allocations: 35.89 kB / 0.6828 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.1889, allocations: 11.98 kB / 0.6828 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.189, allocations: 7.984 kB / 0.6828 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.975e-05/0.189, allocations: 105.2 kB / 0.6829 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.189, allocations: 0 / 0.6829 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002652/0.1893, allocations: 23.89 kB / 0.6829 GB, free: 2.527 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.001029/0.1903, allocations: 0.8177 MB / 0.6837 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006743/0.191, allocations: 167.8 kB / 0.6839 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.191, allocations: 0 / 0.6839 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.1914, allocations: 87.84 kB / 0.684 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.1917, allocations: 8 kB / 0.684 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.1949, allocations: 1.819 MB / 0.6857 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.1952, allocations: 0.7041 MB / 0.6864 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.1953, allocations: 23.97 kB / 0.6864 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.065e-05/0.1954, allocations: 35.36 kB / 0.6865 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.1954, allocations: 0 / 0.6865 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.2169, allocations: 2.767 MB / 0.6892 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/7.97, allocations: 8.422 kB / 0.6892 GB, free: 12.05 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)