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.001278/0.001278, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.47/1.47, allocations: 222.9 MB / 240.2 MB, free: 4.398 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 1.032/1.032, allocations: 143 MB / 433.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 64.05 kB / 0.5143 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1727, allocations: 82.05 MB / 0.5944 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001943/0.1746, allocations: 0.5818 MB / 0.595 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1761, allocations: 1.1 MB / 0.5961 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.1761, allocations: 0 / 0.5961 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.1761, allocations: 3.938 kB / 0.5961 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.1764, allocations: 19.92 kB / 0.5961 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.1764, allocations: 0 / 0.5961 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.752e-05/0.1765, allocations: 0 / 0.5961 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.1765, allocations: 8 kB / 0.5961 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.641e-05/0.1766, allocations: 7.938 kB / 0.5961 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.216e-05/0.1766, allocations: 3.984 kB / 0.5961 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.1766, allocations: 0 / 0.5961 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1767, allocations: 23.91 kB / 0.5961 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.543e-06/0.1767, allocations: 0 / 0.5961 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.1768, allocations: 12 kB / 0.5961 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.389e-05/0.1768, allocations: 15.91 kB / 0.5961 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1769, allocations: 0 / 0.5961 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1769, allocations: 0 / 0.5961 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1769, allocations: 0 / 0.5961 GB, free: 7.648 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003034/0.1772, allocations: 319.6 kB / 0.5964 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1772, allocations: 12.03 kB / 0.5965 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.1773, allocations: 34.73 kB / 0.5965 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.1773, allocations: 4.875 kB / 0.5965 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1774, allocations: 164.3 kB / 0.5967 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1774, allocations: 384 / 0.5967 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.1775, allocations: 4.375 kB / 0.5967 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.1776, allocations: 45.8 kB / 0.5967 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1776, allocations: 3.906 kB / 0.5967 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1776, allocations: 0 / 0.5967 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1776, allocations: 4 kB / 0.5967 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.749e-05/0.1776, allocations: 4 kB / 0.5967 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.1778, allocations: 153.7 kB / 0.5969 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.178, allocations: 38.55 kB / 0.5969 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.178, allocations: 8.859 kB / 0.5969 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.1782, allocations: 77.11 kB / 0.597 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1782, allocations: 46.5 kB / 0.597 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1782, allocations: 0 / 0.597 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004161/0.1824, allocations: 0.568 MB / 0.5976 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.1824, allocations: 51.41 kB / 0.5976 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.692e-05/0.1825, allocations: 93.84 kB / 0.5977 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1825, allocations: 29.7 kB / 0.5977 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.352e-05/0.1825, allocations: 84.08 kB / 0.5978 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.1826, allocations: 15.81 kB / 0.5978 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.1826, allocations: 21.72 kB / 0.5979 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1827, allocations: 314.8 kB / 0.5982 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005871/0.1833, allocations: 83.95 kB / 0.5982 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005976/0.1839, allocations: 102.5 kB / 0.5983 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.1851, allocations: 190.5 kB / 0.5985 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1851, allocations: 0 / 0.5985 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001244/0.1864, allocations: 217.4 kB / 0.5987 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1864, allocations: 8 kB / 0.5987 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1864, allocations: 0 / 0.5987 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1864, allocations: 0 / 0.5987 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.1868, allocations: 59.94 kB / 0.5988 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1868, allocations: 0 / 0.5988 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.1872, allocations: 39.98 kB / 0.5988 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.1872, allocations: 3.984 kB / 0.5988 GB, free: 4.625 MB / 0.4981 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 8.794e-05/0.1873, allocations: 113.8 kB / 0.5989 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.1873, allocations: 3.938 kB / 0.5989 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.1887, allocations: 237.1 kB / 0.5992 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1887, allocations: 0 / 0.5992 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1887, allocations: 0 / 0.5992 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1887, allocations: 3.938 kB / 0.5992 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.1902, allocations: 454.5 kB / 0.5996 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1902, allocations: 3.938 kB / 0.5996 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.1905, allocations: 47.97 kB / 0.5997 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.1906, allocations: 4 kB / 0.5997 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1906, allocations: 320 / 0.5997 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1906, allocations: 0 / 0.5997 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1906, allocations: 11.92 kB / 0.5997 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.1918, allocations: 303.4 kB / 0.6 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.1919, allocations: 81.52 kB / 0.6 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1919, allocations: 4 kB / 0.6 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.1923, allocations: 39.98 kB / 0.6001 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.1923, allocations: 0 / 0.6001 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1923, allocations: 7.984 kB / 0.6001 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.521e-05/0.1924, allocations: 75.28 kB / 0.6002 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1924, allocations: 3.938 kB / 0.6002 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002402/0.1926, allocations: 8 kB / 0.6002 GB, free: 3.148 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 (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.001593/0.1942, allocations: 0.8567 MB / 0.601 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.1954, allocations: 183.9 kB / 0.6012 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1955, allocations: 0 / 0.6012 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000601/0.1961, allocations: 92.08 kB / 0.6013 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.1963, allocations: 2.5 kB / 0.6013 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.1976, allocations: 250.5 kB / 0.6015 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.1979, allocations: 0.6768 MB / 0.6022 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002229/0.1982, allocations: 28 kB / 0.6022 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.1982, allocations: 15.42 kB / 0.6022 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of SimCode: time 4.4e-07/0.1982, allocations: 0 / 0.6022 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.351/0.5493, allocations: 1.609 MB / 0.6038 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/8.052, allocations: 2.906 kB / 0.6038 GB, free: 43.57 MB / 0.4981 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)