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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.005747/0.005747, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001346/0.001346, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9554/0.9554, allocations: 143.3 MB / 433.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 63.89 kB / 0.5954 GB, free: 12.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1923, allocations: 82.04 MB / 0.6755 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001699/0.194, allocations: 0.5829 MB / 0.676 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1955, allocations: 1.112 MB / 0.6771 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.1955, allocations: 0 / 0.6771 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.1955, allocations: 0 / 0.6771 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.1957, allocations: 11.94 kB / 0.6771 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 3.456e-06/0.1958, allocations: 0 / 0.6771 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.525e-05/0.1958, allocations: 7.984 kB / 0.6771 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.1959, allocations: 11.98 kB / 0.6772 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.238e-05/0.1959, allocations: 0 / 0.6772 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.646e-05/0.1959, allocations: 11.88 kB / 0.6772 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.453e-06/0.1959, allocations: 0 / 0.6772 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.196, allocations: 15.98 kB / 0.6772 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.322e-06/0.196, allocations: 0 / 0.6772 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.212e-05/0.1961, allocations: 0 / 0.6772 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.437e-05/0.1961, allocations: 19.91 kB / 0.6772 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1962, allocations: 7.938 kB / 0.6772 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1962, allocations: 0 / 0.6772 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.1962, allocations: 0 / 0.6772 GB, free: 8.785 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.0002941/0.1965, allocations: 319.8 kB / 0.6775 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1965, allocations: 8.031 kB / 0.6775 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.207e-05/0.1966, allocations: 30.75 kB / 0.6775 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.1966, allocations: 4.938 kB / 0.6776 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.1967, allocations: 168.4 kB / 0.6777 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1968, allocations: 4.359 kB / 0.6777 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.1968, allocations: 384 / 0.6777 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.1969, allocations: 37.83 kB / 0.6778 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1969, allocations: 3.953 kB / 0.6778 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.1969, allocations: 8 kB / 0.6778 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.197, allocations: 0 / 0.6778 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.125e-05/0.197, allocations: 15.92 kB / 0.6778 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.1972, allocations: 145.6 kB / 0.6779 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1974, allocations: 34.61 kB / 0.678 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/0.1974, allocations: 12.86 kB / 0.678 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.1976, allocations: 85.19 kB / 0.678 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.1976, allocations: 38.5 kB / 0.6781 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.1976, allocations: 0 / 0.6781 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.004234/0.2019, allocations: 0.5677 MB / 0.6786 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.2019, allocations: 51.41 kB / 0.6787 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.71e-05/0.202, allocations: 89.86 kB / 0.6788 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.202, allocations: 29.64 kB / 0.6788 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.202, allocations: 84.14 kB / 0.6789 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.2021, allocations: 27.78 kB / 0.6789 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.2021, allocations: 17.72 kB / 0.6789 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2023, allocations: 314.8 kB / 0.6792 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005941/0.2029, allocations: 83.95 kB / 0.6793 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/0.2035, allocations: 102.5 kB / 0.6794 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.2047, allocations: 190.4 kB / 0.6796 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2047, allocations: 0 / 0.6796 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001276/0.206, allocations: 217.5 kB / 0.6798 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.2061, allocations: 8 kB / 0.6798 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2061, allocations: 3.938 kB / 0.6798 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.2061, allocations: 0 / 0.6798 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.2065, allocations: 52 kB / 0.6799 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.2065, allocations: 3.984 kB / 0.6799 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.2069, allocations: 39.98 kB / 0.6799 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.2069, allocations: 0 / 0.6799 GB, free: 5.766 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 0.0001268/0.207, allocations: 117.8 kB / 0.68 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.2071, allocations: 3.938 kB / 0.68 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.2085, allocations: 245 kB / 0.6802 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2085, allocations: 0 / 0.6802 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2085, allocations: 0 / 0.6802 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2085, allocations: 432 / 0.6802 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.2101, allocations: 454.7 kB / 0.6807 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2101, allocations: 4 kB / 0.6807 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.2105, allocations: 55.97 kB / 0.6807 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2105, allocations: 0 / 0.6807 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.2105, allocations: 4 kB / 0.6807 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2106, allocations: 4 kB / 0.6807 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2106, allocations: 0 / 0.6807 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.2119, allocations: 311.3 kB / 0.681 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.2119, allocations: 77.11 kB / 0.6811 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.212, allocations: 0 / 0.6811 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.2124, allocations: 43.97 kB / 0.6812 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.2124, allocations: 0 / 0.6812 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.2124, allocations: 4 kB / 0.6812 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.501e-05/0.2125, allocations: 83.28 kB / 0.6812 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.114e-06/0.2125, allocations: 0 / 0.6812 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002796/0.2127, allocations: 11.94 kB / 0.6813 GB, free: 4.273 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.001683/0.2144, allocations: 0.8452 MB / 0.6821 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.2157, allocations: 175.9 kB / 0.6822 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2157, allocations: 0 / 0.6822 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005932/0.2163, allocations: 92.02 kB / 0.6823 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.2165, allocations: 4 kB / 0.6823 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.2179, allocations: 246.4 kB / 0.6826 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.2182, allocations: 0.6806 MB / 0.6832 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001787/0.2183, allocations: 27.98 kB / 0.6833 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.2184, allocations: 18.06 kB / 0.6833 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of SimCode: time 3.477e-06/0.2184, allocations: 0 / 0.6833 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.2405, allocations: 1.658 MB / 0.6849 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/7.97, allocations: 7.375 kB / 0.6849 GB, free: 0.5859 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)