Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.005882/0.005882, allocations: 106.3 kB / 15.74 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.001819/0.001819, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.8983/0.8983, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 72.42 kB / 0.5951 GB, free: 12.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1682, allocations: 82.03 MB / 0.6752 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00175/0.17, allocations: 0.5858 MB / 0.6758 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001913/0.1719, allocations: 1.101 MB / 0.6769 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.172, allocations: 4 kB / 0.6769 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.172, allocations: 7.938 kB / 0.6769 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.1723, allocations: 19.91 kB / 0.6769 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.1723, allocations: 0 / 0.6769 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.775e-05/0.1723, allocations: 4 kB / 0.6769 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.1724, allocations: 3.984 kB / 0.6769 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.809e-05/0.1724, allocations: 8 kB / 0.6769 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.182e-05/0.1725, allocations: 3.938 kB / 0.6769 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.115e-06/0.1725, allocations: 0 / 0.6769 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1726, allocations: 23.91 kB / 0.6769 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.493e-06/0.1726, allocations: 0 / 0.6769 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.306e-05/0.1726, allocations: 4 kB / 0.6769 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.061e-05/0.1727, allocations: 15.98 kB / 0.6769 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1727, allocations: 0 / 0.6769 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1727, allocations: 3.938 kB / 0.6769 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1727, allocations: 0 / 0.6769 GB, free: 8.992 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00029/0.173, allocations: 317.3 kB / 0.6773 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1731, allocations: 12.03 kB / 0.6773 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.1731, allocations: 30.75 kB / 0.6773 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.1732, allocations: 4.938 kB / 0.6773 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.952e-05/0.1733, allocations: 172.2 kB / 0.6775 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1733, allocations: 4.375 kB / 0.6775 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.1733, allocations: 4.375 kB / 0.6775 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.1734, allocations: 37.81 kB / 0.6775 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1734, allocations: 0 / 0.6775 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.1735, allocations: 0 / 0.6775 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1735, allocations: 0 / 0.6775 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.899e-05/0.1735, allocations: 8 kB / 0.6775 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.1737, allocations: 153.7 kB / 0.6777 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.174, allocations: 42.55 kB / 0.6777 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.174, allocations: 8.859 kB / 0.6777 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.1742, allocations: 85.19 kB / 0.6778 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.1742, allocations: 38.5 kB / 0.6778 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1742, allocations: 4 kB / 0.6778 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.004204/0.1784, allocations: 0.5703 MB / 0.6784 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.1785, allocations: 55.41 kB / 0.6784 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.509e-05/0.1786, allocations: 89.86 kB / 0.6785 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.1786, allocations: 25.7 kB / 0.6786 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.1786, allocations: 80.14 kB / 0.6786 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/0.1787, allocations: 16.38 kB / 0.6786 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.944e-05/0.1788, allocations: 25.7 kB / 0.6787 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1789, allocations: 310.8 kB / 0.679 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/0.1795, allocations: 83.95 kB / 0.679 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005683/0.1801, allocations: 106.5 kB / 0.6791 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.1812, allocations: 186.5 kB / 0.6793 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.1812, allocations: 4 kB / 0.6793 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001273/0.1825, allocations: 217.5 kB / 0.6795 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1825, allocations: 4 kB / 0.6795 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1825, allocations: 0 / 0.6795 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1826, allocations: 7.938 kB / 0.6795 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.1829, allocations: 51.94 kB / 0.6796 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1829, allocations: 0 / 0.6796 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.1833, allocations: 43.97 kB / 0.6796 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.1833, allocations: 4 kB / 0.6796 GB, free: 5.973 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 (5): * Single equations (assignments): 5 * 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 9.089e-05/0.1834, allocations: 118.1 kB / 0.6798 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.1834, allocations: 3.938 kB / 0.6798 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.1847, allocations: 233.1 kB / 0.68 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1847, allocations: 0 / 0.68 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1847, allocations: 0 / 0.68 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1847, allocations: 432 / 0.68 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.1862, allocations: 462.3 kB / 0.6804 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1863, allocations: 3.984 kB / 0.6804 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.1866, allocations: 51.92 kB / 0.6805 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1866, allocations: 0 / 0.6805 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.1867, allocations: 8.297 kB / 0.6805 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1867, allocations: 0 / 0.6805 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.1867, allocations: 11.92 kB / 0.6805 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.1879, allocations: 307.4 kB / 0.6808 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.188, allocations: 77.11 kB / 0.6809 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.188, allocations: 4 kB / 0.6809 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.1883, allocations: 35.98 kB / 0.6809 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.1884, allocations: 7.984 kB / 0.6809 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.1884, allocations: 4 kB / 0.6809 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.696e-05/0.1884, allocations: 75.28 kB / 0.681 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1884, allocations: 0 / 0.681 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002503/0.1887, allocations: 8 kB / 0.681 GB, free: 4.488 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 (5): * Single equations (assignments): 5 * 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.00176/0.1904, allocations: 0.8451 MB / 0.6818 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.1917, allocations: 175.9 kB / 0.682 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1917, allocations: 4.188 kB / 0.682 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005959/0.1923, allocations: 87.89 kB / 0.6821 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.1926, allocations: 11.94 kB / 0.6821 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.1941, allocations: 250.4 kB / 0.6823 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.1944, allocations: 0.6729 MB / 0.683 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002434/0.1947, allocations: 35.92 kB / 0.683 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.1948, allocations: 19.42 kB / 0.683 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.1948, allocations: 0 / 0.683 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.216, allocations: 1.65 MB / 0.6846 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/7.439, allocations: 3.938 kB / 0.6846 GB, free: 0.793 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)