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.007612/0.007612, allocations: 100.9 kB / 15.73 MB, free: 6.031 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.001104/0.001104, allocations: 199 kB / 16.67 MB, free: 5.965 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.387/1.387, 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 0.9974/0.9974, allocations: 143 MB / 433.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 71.89 kB / 0.5951 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4485, allocations: 82.02 MB / 0.6752 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001645/0.4502, allocations: 0.5963 MB / 0.6758 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.4514, allocations: 1.105 MB / 0.6769 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.4515, allocations: 1.125 kB / 0.6769 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.4515, allocations: 0 / 0.6769 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.4518, allocations: 22.98 kB / 0.6769 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/0.4518, allocations: 0 / 0.6769 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.477e-05/0.4518, allocations: 2.125 kB / 0.6769 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.4519, allocations: 5.062 kB / 0.6769 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.4519, allocations: 5.031 kB / 0.6769 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.309e-05/0.4519, allocations: 5.047 kB / 0.6769 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.585e-06/0.452, allocations: 5 kB / 0.6769 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.4521, allocations: 23.62 kB / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.161e-06/0.4521, allocations: 1.25 kB / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.521e-05/0.4521, allocations: 0 / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.722e-05/0.4522, allocations: 25.44 kB / 0.677 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4522, allocations: 0 / 0.677 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4522, allocations: 1.156 kB / 0.677 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.4522, allocations: 0 / 0.677 GB, free: 15.75 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.0002856/0.4525, allocations: 316.8 kB / 0.6773 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4526, allocations: 9.438 kB / 0.6773 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.387e-05/0.4526, allocations: 30.75 kB / 0.6773 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.4526, allocations: 10.27 kB / 0.6773 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.421e-05/0.4527, allocations: 160.4 kB / 0.6775 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.4528, allocations: 1.625 kB / 0.6775 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.4528, allocations: 1.625 kB / 0.6775 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.794e-05/0.4529, allocations: 45.66 kB / 0.6775 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4529, allocations: 0 / 0.6775 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.4529, allocations: 4.938 kB / 0.6775 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4529, allocations: 0 / 0.6775 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.453, allocations: 4.312 kB / 0.6775 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.4531, allocations: 152.7 kB / 0.6777 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.4533, allocations: 33.94 kB / 0.6777 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.4533, allocations: 12.47 kB / 0.6777 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.4535, allocations: 80.11 kB / 0.6778 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.4535, allocations: 39.59 kB / 0.6778 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.4535, allocations: 0 / 0.6778 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.004226/0.4578, allocations: 0.5709 MB / 0.6784 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.4578, allocations: 52.59 kB / 0.6784 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.794e-05/0.4579, allocations: 89.86 kB / 0.6785 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-05/0.458, allocations: 26.86 kB / 0.6785 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.458, allocations: 88.12 kB / 0.6786 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.4581, allocations: 21.78 kB / 0.6786 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.4581, allocations: 18.22 kB / 0.6787 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4583, allocations: 315.8 kB / 0.679 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006146/0.4589, allocations: 86.58 kB / 0.679 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006064/0.4595, allocations: 100.1 kB / 0.6791 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.4607, allocations: 191.1 kB / 0.6793 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4607, allocations: 1.062 kB / 0.6793 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001229/0.4619, allocations: 218 kB / 0.6795 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.462, allocations: 4.781 kB / 0.6795 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.462, allocations: 1.062 kB / 0.6795 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.462, allocations: 5.031 kB / 0.6795 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.4624, allocations: 50 kB / 0.6796 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.4624, allocations: 1.25 kB / 0.6796 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.4628, allocations: 43.2 kB / 0.6796 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.4628, allocations: 2.25 kB / 0.6796 GB, free: 13.66 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.408e-05/0.4629, allocations: 115.4 kB / 0.6797 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.4629, allocations: 9.438 kB / 0.6798 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.4643, allocations: 239 kB / 0.68 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.4643, allocations: 0.9375 kB / 0.68 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4644, allocations: 0 / 0.68 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4644, allocations: 1.312 kB / 0.68 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.4659, allocations: 462.3 kB / 0.6804 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.466, allocations: 0 / 0.6804 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.4664, allocations: 50.19 kB / 0.6805 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4664, allocations: 0 / 0.6805 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.4664, allocations: 4.938 kB / 0.6805 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.4664, allocations: 1.156 kB / 0.6805 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4664, allocations: 0 / 0.6805 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.4677, allocations: 306.1 kB / 0.6808 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.4678, allocations: 78.27 kB / 0.6808 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.4678, allocations: 5.047 kB / 0.6808 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.4682, allocations: 41.73 kB / 0.6809 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.4682, allocations: 2.375 kB / 0.6809 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.4682, allocations: 5.156 kB / 0.6809 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.014e-05/0.4683, allocations: 79.27 kB / 0.681 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.117e-06/0.4683, allocations: 1.125 kB / 0.681 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002542/0.4686, allocations: 17.25 kB / 0.681 GB, free: 12.65 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.001756/0.4703, allocations: 0.849 MB / 0.6818 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.4716, allocations: 174 kB / 0.682 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4716, allocations: 0 / 0.682 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006176/0.4722, allocations: 100.9 kB / 0.6821 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.4724, allocations: 1.375 kB / 0.6821 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.4739, allocations: 250.7 kB / 0.6823 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.4742, allocations: 0.6769 MB / 0.683 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001862/0.4744, allocations: 25.22 kB / 0.683 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.262e-05/0.4745, allocations: 9.781 kB / 0.683 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.4745, allocations: 4 kB / 0.683 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.4936, allocations: 1.668 MB / 0.6846 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.363/7.857, allocations: 1.5 kB / 0.6846 GB, free: 10.04 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)