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.005564/0.005564, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001176/0.001176, allocations: 198.4 kB / 16.68 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.042/1.042, allocations: 143 MB / 433.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002472/0.002472, allocations: 67.91 kB / 0.5951 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5212/0.5236, allocations: 82.04 MB / 0.6752 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001618/0.5253, allocations: 0.5699 MB / 0.6758 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.5267, allocations: 1.113 MB / 0.6769 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.827e-05/0.5267, allocations: 0 / 0.6769 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.103e-05/0.5267, allocations: 0 / 0.6769 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.527, allocations: 27.22 kB / 0.6769 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 6.683e-06/0.527, allocations: 0 / 0.6769 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.64e-05/0.5271, allocations: 6.406 kB / 0.6769 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.268e-05/0.5272, allocations: 1.312 kB / 0.6769 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.27e-05/0.5272, allocations: 5.188 kB / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.805e-05/0.5272, allocations: 5.156 kB / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.875e-06/0.5272, allocations: 0 / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.5274, allocations: 24.58 kB / 0.6769 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.5274, allocations: 3.984 kB / 0.6769 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.28e-05/0.5274, allocations: 1.156 kB / 0.6769 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.138e-05/0.5275, allocations: 21.06 kB / 0.677 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.5275, allocations: 0 / 0.677 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.614e-06/0.5275, allocations: 0 / 0.677 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.5275, allocations: 0.9688 kB / 0.677 GB, free: 15.74 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.0003074/0.5278, allocations: 322.5 kB / 0.6773 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.5279, allocations: 8.906 kB / 0.6773 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.5279, allocations: 31.91 kB / 0.6773 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.528, allocations: 2.188 kB / 0.6773 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.5281, allocations: 164.4 kB / 0.6775 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.5281, allocations: 1.406 kB / 0.6775 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.5281, allocations: 5.531 kB / 0.6775 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.5282, allocations: 42.09 kB / 0.6775 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.5283, allocations: 3.953 kB / 0.6775 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.5283, allocations: 0 / 0.6775 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.5283, allocations: 9.047 kB / 0.6775 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.858e-05/0.5283, allocations: 4.531 kB / 0.6775 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.5285, allocations: 152 kB / 0.6777 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.5287, allocations: 30.02 kB / 0.6777 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.294e-05/0.5288, allocations: 16.12 kB / 0.6777 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.5289, allocations: 80.8 kB / 0.6778 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.5289, allocations: 47.41 kB / 0.6778 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.5289, allocations: 0 / 0.6778 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.004355/0.5333, allocations: 0.5724 MB / 0.6784 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.5334, allocations: 52.69 kB / 0.6784 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.328e-05/0.5335, allocations: 89.86 kB / 0.6785 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.5335, allocations: 27.17 kB / 0.6786 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.5335, allocations: 80.14 kB / 0.6786 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.576e-05/0.5336, allocations: 21.31 kB / 0.6787 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/0.5337, allocations: 18.75 kB / 0.6787 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5338, allocations: 320.1 kB / 0.679 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006331/0.5345, allocations: 86.19 kB / 0.6791 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006345/0.5351, allocations: 99.34 kB / 0.6792 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.5364, allocations: 191.1 kB / 0.6793 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.5364, allocations: 1.312 kB / 0.6793 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001338/0.5377, allocations: 217.7 kB / 0.6795 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.5378, allocations: 9.609 kB / 0.6796 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5378, allocations: 1.25 kB / 0.6796 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5378, allocations: 1.031 kB / 0.6796 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.5382, allocations: 49.69 kB / 0.6796 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.5382, allocations: 1.25 kB / 0.6796 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.5386, allocations: 39.05 kB / 0.6796 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.5386, allocations: 6.281 kB / 0.6797 GB, free: 13.63 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.318e-05/0.5387, allocations: 116 kB / 0.6798 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.5387, allocations: 9.297 kB / 0.6798 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.5401, allocations: 234.5 kB / 0.68 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.5401, allocations: 0 / 0.68 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5401, allocations: 1.156 kB / 0.68 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5401, allocations: 0 / 0.68 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.5417, allocations: 454.9 kB / 0.6804 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5417, allocations: 0 / 0.6804 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.5421, allocations: 49.81 kB / 0.6805 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5421, allocations: 0 / 0.6805 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.5422, allocations: 1.375 kB / 0.6805 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5422, allocations: 5.219 kB / 0.6805 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.5422, allocations: 4 kB / 0.6805 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.5434, allocations: 314.2 kB / 0.6808 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.5435, allocations: 78.69 kB / 0.6809 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.5435, allocations: 0 / 0.6809 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.5439, allocations: 42.97 kB / 0.6809 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.5439, allocations: 1.219 kB / 0.6809 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.5439, allocations: 2.469 kB / 0.6809 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.847e-05/0.544, allocations: 79.28 kB / 0.681 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.544, allocations: 0 / 0.681 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002604/0.5442, allocations: 17.41 kB / 0.681 GB, free: 12.64 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.001638/0.5459, allocations: 0.8537 MB / 0.6818 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.5471, allocations: 173.1 kB / 0.682 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5471, allocations: 0 / 0.682 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005783/0.5477, allocations: 100.3 kB / 0.6821 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.5479, allocations: 4.562 kB / 0.6821 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.5492, allocations: 241.1 kB / 0.6823 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.5494, allocations: 0.6813 MB / 0.683 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001857/0.5496, allocations: 23.88 kB / 0.683 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.5497, allocations: 10.91 kB / 0.683 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.5497, allocations: 0 / 0.683 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.5669, allocations: 1.66 MB / 0.6846 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/8.188, allocations: 4.375 kB / 0.6847 GB, free: 10.03 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)