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-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.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.00775/0.00775, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.002015/0.002015, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.527/1.527, 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-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 1.055/1.055, allocations: 143.3 MB / 433.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 75.88 kB / 0.5953 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5207/0.5227, allocations: 82.02 MB / 0.6754 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.003489/0.5262, allocations: 1.429 MB / 0.6768 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006895/0.5269, allocations: 192.9 kB / 0.677 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.527, allocations: 5.031 kB / 0.677 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.075e-05/0.527, allocations: 3.938 kB / 0.677 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.531e-05/0.5271, allocations: 7.922 kB / 0.677 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.5275, allocations: 38.05 kB / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.302e-05/0.5276, allocations: 21.38 kB / 0.6771 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.5278, allocations: 11.64 kB / 0.6771 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.847e-05/0.5278, allocations: 3.469 kB / 0.6771 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.5279, allocations: 18.12 kB / 0.6771 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.5279, allocations: 2.25 kB / 0.6771 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.5281, allocations: 36.91 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.5281, allocations: 5.188 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.5281, allocations: 14.23 kB / 0.6772 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.5283, allocations: 41.98 kB / 0.6772 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5284, allocations: 0 / 0.6772 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5284, allocations: 5.156 kB / 0.6772 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.5284, allocations: 0 / 0.6772 GB, free: 15.58 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.000693/0.5291, allocations: 344.1 kB / 0.6775 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.5292, allocations: 9.656 kB / 0.6775 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.308e-05/0.5293, allocations: 30.75 kB / 0.6776 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.5293, allocations: 2.25 kB / 0.6776 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.5295, allocations: 178.6 kB / 0.6777 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.5296, allocations: 384 / 0.6777 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.5296, allocations: 6.844 kB / 0.6777 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.5299, allocations: 53.02 kB / 0.6778 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.5299, allocations: 7.875 kB / 0.6778 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.5299, allocations: 1.062 kB / 0.6778 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5299, allocations: 0 / 0.6778 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.5302, allocations: 31.31 kB / 0.6778 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.5307, allocations: 253.2 kB / 0.6781 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.531, allocations: 39.12 kB / 0.6781 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.5311, allocations: 26.7 kB / 0.6781 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.5313, allocations: 79.3 kB / 0.6782 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.5314, allocations: 35.91 kB / 0.6783 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.5314, allocations: 0 / 0.6783 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004502/0.5318, allocations: 81.83 kB / 0.6783 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.5319, allocations: 51.41 kB / 0.6784 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.532, allocations: 105 kB / 0.6785 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.5321, allocations: 25.7 kB / 0.6785 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.5321, allocations: 88.97 kB / 0.6786 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.5322, allocations: 9.016 kB / 0.6786 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.5322, allocations: 16.22 kB / 0.6786 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.5324, allocations: 316 kB / 0.6789 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.536e-05/0.5325, allocations: 25.25 kB / 0.6789 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/0.5326, allocations: 17.2 kB / 0.679 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.5327, allocations: 40.42 kB / 0.679 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5327, allocations: 3.938 kB / 0.679 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002002/0.5329, allocations: 65.38 kB / 0.6791 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.533, allocations: 4.281 kB / 0.6791 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.533, allocations: 1.281 kB / 0.6791 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.533, allocations: 0 / 0.6791 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/0.5331, allocations: 10.39 kB / 0.6791 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5331, allocations: 0 / 0.6791 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.5332, allocations: 11.53 kB / 0.6791 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.5332, allocations: 8.734 kB / 0.6791 GB, free: 13.6 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 8.465e-05/0.5333, allocations: 112 kB / 0.6792 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.5333, allocations: 1 kB / 0.6792 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.5335, allocations: 71.91 kB / 0.6793 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5335, allocations: 0 / 0.6793 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.5336, allocations: 5.312 kB / 0.6793 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.5336, allocations: 3.938 kB / 0.6793 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.5337, allocations: 162.8 kB / 0.6794 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5337, allocations: 0 / 0.6794 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.5338, allocations: 6.469 kB / 0.6794 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.5338, allocations: 0 / 0.6794 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.5338, allocations: 9.109 kB / 0.6794 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5338, allocations: 0 / 0.6794 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.5338, allocations: 5.047 kB / 0.6795 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.5341, allocations: 175.8 kB / 0.6796 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.5342, allocations: 77.11 kB / 0.6797 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.5342, allocations: 1.25 kB / 0.6797 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.5343, allocations: 3.719 kB / 0.6797 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.5343, allocations: 5.484 kB / 0.6797 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.5343, allocations: 0 / 0.6797 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.222e-05/0.5344, allocations: 88.06 kB / 0.6798 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5344, allocations: 0 / 0.6798 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000227/0.5346, allocations: 9.625 kB / 0.6798 GB, free: 12.87 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.0006616/0.5353, allocations: 0.7112 MB / 0.6805 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.5355, allocations: 37.59 kB / 0.6805 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5355, allocations: 1.281 kB / 0.6805 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-05/0.5356, allocations: 22.72 kB / 0.6805 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.5359, allocations: 12.33 kB / 0.6806 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.5363, allocations: 138.5 kB / 0.6807 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.5367, allocations: 0.6811 MB / 0.6814 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.427e-05/0.5367, allocations: 1.094 kB / 0.6814 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.5367, allocations: 13.59 kB / 0.6814 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.5368, allocations: 0 / 0.6814 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.5624, allocations: 1.447 MB / 0.6828 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.554, allocations: 14.33 kB / 0.6828 GB, free: 10.45 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)