Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006861/0.00686, allocations: 100.6 kB / 15.73 MB, free: 6.453 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.001234/0.001234, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.006/1.006, allocations: 143 MB / 433.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 0.5956 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4366, allocations: 82.03 MB / 0.6757 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001534/0.4382, allocations: 0.5991 MB / 0.6763 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003551/0.4386, allocations: 164.2 kB / 0.6764 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.4386, allocations: 0 / 0.6764 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.196e-05/0.4386, allocations: 1.5 kB / 0.6764 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.264e-05/0.4387, allocations: 0 / 0.6764 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.439, allocations: 50.3 kB / 0.6765 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.86e-05/0.4391, allocations: 11.14 kB / 0.6765 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.4391, allocations: 5.156 kB / 0.6765 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.825e-05/0.4391, allocations: 8.016 kB / 0.6765 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.4392, allocations: 14.55 kB / 0.6765 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.4392, allocations: 1.375 kB / 0.6765 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.33e-05/0.4393, allocations: 31.34 kB / 0.6765 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.4393, allocations: 5.312 kB / 0.6765 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.4393, allocations: 10.17 kB / 0.6765 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.178e-05/0.4394, allocations: 25.3 kB / 0.6766 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4394, allocations: 0 / 0.6766 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4395, allocations: 0 / 0.6766 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.4395, allocations: 0 / 0.6766 GB, free: 0.8086 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002978/0.4398, allocations: 330.4 kB / 0.6769 GB, free: 456 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.4398, allocations: 14.03 kB / 0.6769 GB, free: 452 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.4398, allocations: 7.062 kB / 0.6769 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.024e-05/0.4399, allocations: 160.4 kB / 0.6771 GB, free: 248 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.4399, allocations: 2.656 kB / 0.6771 GB, free: 248 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.44, allocations: 9.375 kB / 0.6771 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.4401, allocations: 42.78 kB / 0.6771 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.4401, allocations: 192 / 0.6771 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.4401, allocations: 7.922 kB / 0.6771 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4401, allocations: 5.438 kB / 0.6771 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.388e-05/0.4402, allocations: 12.16 kB / 0.6771 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.4404, allocations: 166.1 kB / 0.6773 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.4405, allocations: 48.22 kB / 0.6773 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/0.4406, allocations: 20.91 kB / 0.6774 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.51e-05/0.4407, allocations: 84.55 kB / 0.6774 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.4407, allocations: 35.56 kB / 0.6775 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.4407, allocations: 4 kB / 0.6775 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.001281/0.442, allocations: 492.8 kB / 0.678 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.442, allocations: 52.78 kB / 0.678 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.233e-05/0.4421, allocations: 90.86 kB / 0.6781 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.4421, allocations: 27.08 kB / 0.6781 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.57e-05/0.4422, allocations: 80.14 kB / 0.6782 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.4422, allocations: 24.31 kB / 0.6782 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.4422, allocations: 24.53 kB / 0.6782 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4424, allocations: 320.1 kB / 0.6785 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.109e-05/0.4424, allocations: 14.5 kB / 0.6786 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.594e-05/0.4424, allocations: 11.62 kB / 0.6786 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.658e-05/0.4425, allocations: 37.72 kB / 0.6786 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4425, allocations: 1.062 kB / 0.6786 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001152/0.4426, allocations: 74.23 kB / 0.6787 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4427, allocations: 9.5 kB / 0.6787 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4427, allocations: 0 / 0.6787 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4427, allocations: 4.969 kB / 0.6787 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.387e-05/0.4428, allocations: 15.09 kB / 0.6787 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.4428, allocations: 5.141 kB / 0.6787 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.456e-05/0.4428, allocations: 1.156 kB / 0.6787 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4428, allocations: 1.031 kB / 0.6787 GB, free: 14.59 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 (8): * Single equations (assignments): 8 * 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.604e-05/0.4429, allocations: 112.2 kB / 0.6788 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.4429, allocations: 6.438 kB / 0.6788 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.4431, allocations: 87.5 kB / 0.6789 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.4431, allocations: 5.156 kB / 0.6789 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4431, allocations: 3.938 kB / 0.6789 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4431, allocations: 1.281 kB / 0.6789 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.4432, allocations: 169.5 kB / 0.6791 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4433, allocations: 0 / 0.6791 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.114e-05/0.4433, allocations: 11.06 kB / 0.6791 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.4434, allocations: 5 kB / 0.6791 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.4434, allocations: 9.188 kB / 0.6791 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4434, allocations: 0 / 0.6791 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4434, allocations: 1.094 kB / 0.6791 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.4436, allocations: 113.9 kB / 0.6792 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.4436, allocations: 90.09 kB / 0.6793 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.4437, allocations: 1.125 kB / 0.6793 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.88e-05/0.4437, allocations: 6.188 kB / 0.6793 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.4437, allocations: 2.219 kB / 0.6793 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.4438, allocations: 2.156 kB / 0.6793 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.4438, allocations: 84.33 kB / 0.6794 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4438, allocations: 3.938 kB / 0.6794 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002379/0.444, allocations: 33 kB / 0.6794 GB, free: 13.88 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0002201/0.4443, allocations: 129.7 kB / 0.6795 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.4444, allocations: 35.7 kB / 0.6796 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4444, allocations: 3.938 kB / 0.6796 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.689e-05/0.4445, allocations: 23.7 kB / 0.6796 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.4446, allocations: 5.469 kB / 0.6796 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.445, allocations: 139.4 kB / 0.6797 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.4452, allocations: 0.6797 MB / 0.6804 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.77e-05/0.4453, allocations: 11.58 kB / 0.6804 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.4453, allocations: 10.91 kB / 0.6804 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4453, allocations: 0.7812 kB / 0.6804 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.003328/0.4486, allocations: 0.9 MB / 0.6813 GB, free: 12.46 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)