Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.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.Examples.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential",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.008054/0.008054, allocations: 99.34 kB / 15.73 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.00172/0.00172, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.059/1.059, allocations: 143 MB / 433.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.91 kB / 0.5951 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.4337, allocations: 82.03 MB / 0.6752 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.002175/0.4359, allocations: 1.437 MB / 0.6766 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000441/0.4364, allocations: 201.2 kB / 0.6768 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.247e-05/0.4364, allocations: 0 / 0.6768 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.4365, allocations: 1.406 kB / 0.6768 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.051e-05/0.4365, allocations: 3.938 kB / 0.6768 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.4368, allocations: 37.02 kB / 0.6768 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.855e-05/0.4368, allocations: 25.67 kB / 0.6768 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.127e-05/0.4369, allocations: 7.562 kB / 0.6768 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.437, allocations: 11.39 kB / 0.6769 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.741e-05/0.437, allocations: 10.41 kB / 0.6769 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.4371, allocations: 2.312 kB / 0.6769 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.891e-05/0.4371, allocations: 41.42 kB / 0.6769 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.4372, allocations: 3.984 kB / 0.6769 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.4372, allocations: 10.22 kB / 0.6769 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.4373, allocations: 43.23 kB / 0.677 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4373, allocations: 0 / 0.677 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.745e-06/0.4373, allocations: 0 / 0.677 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.4373, allocations: 7.938 kB / 0.677 GB, free: 15.77 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.0004142/0.4378, allocations: 344 kB / 0.6773 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.4378, allocations: 10.25 kB / 0.6773 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.266e-05/0.4378, allocations: 30.75 kB / 0.6773 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.4379, allocations: 2.25 kB / 0.6773 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.438, allocations: 166.9 kB / 0.6775 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.438, allocations: 4.375 kB / 0.6775 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-06/0.438, allocations: 1.656 kB / 0.6775 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.4382, allocations: 53.77 kB / 0.6776 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4382, allocations: 9.031 kB / 0.6776 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.4382, allocations: 3.938 kB / 0.6776 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.4382, allocations: 0 / 0.6776 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.4384, allocations: 38.98 kB / 0.6776 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.4387, allocations: 249.7 kB / 0.6778 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.4388, allocations: 44.06 kB / 0.6779 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.4389, allocations: 22.72 kB / 0.6779 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-05/0.439, allocations: 82.53 kB / 0.678 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.439, allocations: 31.91 kB / 0.678 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.439, allocations: 0 / 0.678 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003392/0.4394, allocations: 85.84 kB / 0.6781 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.4394, allocations: 55.39 kB / 0.6781 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.394e-05/0.4395, allocations: 100.4 kB / 0.6782 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.4395, allocations: 25.7 kB / 0.6783 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.4396, allocations: 85.16 kB / 0.6783 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.4396, allocations: 12.88 kB / 0.6784 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.4396, allocations: 17.5 kB / 0.6784 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4398, allocations: 315 kB / 0.6787 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-05/0.4399, allocations: 16.95 kB / 0.6787 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.44, allocations: 14.08 kB / 0.6787 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.4401, allocations: 39.38 kB / 0.6787 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4401, allocations: 9.406 kB / 0.6788 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001998/0.4403, allocations: 72.5 kB / 0.6788 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.4404, allocations: 4.719 kB / 0.6788 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4404, allocations: 0 / 0.6788 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.4404, allocations: 1.125 kB / 0.6788 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.685e-05/0.4405, allocations: 5.75 kB / 0.6788 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.4405, allocations: 5.109 kB / 0.6788 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.4405, allocations: 3.312 kB / 0.6788 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.4406, allocations: 5.188 kB / 0.6788 GB, free: 13.8 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 7.663e-05/0.4406, allocations: 110.9 kB / 0.679 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.4407, allocations: 1.188 kB / 0.679 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.4409, allocations: 79.73 kB / 0.679 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4409, allocations: 0 / 0.679 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4409, allocations: 1.281 kB / 0.679 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.441, allocations: 0 / 0.679 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.4411, allocations: 170.5 kB / 0.6792 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.4411, allocations: 0 / 0.6792 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.4412, allocations: 11.05 kB / 0.6792 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.4412, allocations: 3.984 kB / 0.6792 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.4412, allocations: 0.9688 kB / 0.6792 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4412, allocations: 0 / 0.6792 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4412, allocations: 3.938 kB / 0.6792 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.4415, allocations: 176 kB / 0.6794 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.4416, allocations: 78.42 kB / 0.6795 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.4416, allocations: 3.984 kB / 0.6795 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.4416, allocations: 3.438 kB / 0.6795 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.4417, allocations: 2.125 kB / 0.6795 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.4417, allocations: 1.406 kB / 0.6795 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.711e-05/0.4418, allocations: 86.42 kB / 0.6795 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.4418, allocations: 0 / 0.6795 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002261/0.442, allocations: 14 kB / 0.6796 GB, free: 13.06 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 (2): * Single equations (assignments): 2 * 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.0006279/0.4426, allocations: 0.7 MB / 0.6802 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.4429, allocations: 49.73 kB / 0.6803 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4429, allocations: 0 / 0.6803 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.421e-05/0.443, allocations: 15.02 kB / 0.6803 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.4433, allocations: 2.094 kB / 0.6803 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.4438, allocations: 142.4 kB / 0.6804 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.4441, allocations: 0.6782 MB / 0.6811 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.046e-05/0.4441, allocations: 5.422 kB / 0.6811 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.4441, allocations: 8.5 kB / 0.6811 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.4441, allocations: 0 / 0.6811 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.4637, allocations: 1.45 MB / 0.6825 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.407/7.871, allocations: 3.016 kB / 0.6825 GB, free: 10.67 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)