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.001545/0.001545, allocations: 112.6 kB / 16.37 MB, free: 6 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.001897/0.001897, allocations: 196 kB / 17.31 MB, free: 5.613 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.8548/0.8548, allocations: 143.1 MB / 434.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 63.91 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3487, allocations: 82.03 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001589/0.3503, allocations: 0.602 MB / 0.5963 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003365/0.3507, allocations: 163.4 kB / 0.5964 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.362e-05/0.3507, allocations: 1.375 kB / 0.5965 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.035e-05/0.3507, allocations: 0 / 0.5965 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.845e-05/0.3508, allocations: 3.938 kB / 0.5965 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.3511, allocations: 43.89 kB / 0.5965 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.313e-05/0.3511, allocations: 9.469 kB / 0.5965 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.3511, allocations: 7.984 kB / 0.5965 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.603e-05/0.3512, allocations: 4 kB / 0.5965 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.71e-05/0.3512, allocations: 7.938 kB / 0.5965 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.908e-06/0.3512, allocations: 0.5625 kB / 0.5965 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.776e-05/0.3513, allocations: 41.56 kB / 0.5966 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.3513, allocations: 4 kB / 0.5966 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.777e-05/0.3514, allocations: 3.938 kB / 0.5966 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.329e-05/0.3515, allocations: 35.94 kB / 0.5966 GB, free: 15.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3515, allocations: 1.375 kB / 0.5966 GB, free: 15.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3515, allocations: 0 / 0.5966 GB, free: 15.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.3515, allocations: 0 / 0.5966 GB, free: 15.23 MB / 446.1 MB 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.0002839/0.3518, allocations: 332.3 kB / 0.5969 GB, free: 14.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.3518, allocations: 12.03 kB / 0.5969 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.3518, allocations: 10.34 kB / 0.5969 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.133e-05/0.3519, allocations: 164.3 kB / 0.5971 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3519, allocations: 4.375 kB / 0.5971 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.352, allocations: 1.156 kB / 0.5971 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.852e-05/0.3521, allocations: 42.25 kB / 0.5971 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3521, allocations: 2.188 kB / 0.5972 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3521, allocations: 7.938 kB / 0.5972 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3521, allocations: 7.984 kB / 0.5972 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.888e-05/0.3521, allocations: 11.98 kB / 0.5972 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.3523, allocations: 163.3 kB / 0.5973 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.384e-05/0.3524, allocations: 46.5 kB / 0.5974 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.3524, allocations: 20.97 kB / 0.5974 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-05/0.3525, allocations: 82.45 kB / 0.5975 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.3525, allocations: 30.56 kB / 0.5975 GB, free: 14.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3525, allocations: 1.406 kB / 0.5975 GB, free: 14.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.001086/0.3536, allocations: 492.3 kB / 0.598 GB, free: 13.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.3536, allocations: 56.38 kB / 0.598 GB, free: 13.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.902e-05/0.3537, allocations: 91.2 kB / 0.5981 GB, free: 13.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.3537, allocations: 25.7 kB / 0.5981 GB, free: 13.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.482e-05/0.3537, allocations: 84.14 kB / 0.5982 GB, free: 13.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.3537, allocations: 18.89 kB / 0.5982 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.3538, allocations: 29.7 kB / 0.5983 GB, free: 13.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.742e-05/0.3538, allocations: 312.1 kB / 0.5986 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.3539, allocations: 15.98 kB / 0.5986 GB, free: 12.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.3539, allocations: 20.06 kB / 0.5986 GB, free: 12.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.197e-05/0.3539, allocations: 34.12 kB / 0.5986 GB, free: 12.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.3539, allocations: 0 / 0.5986 GB, free: 12.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.506e-05/0.354, allocations: 73.58 kB / 0.5987 GB, free: 12.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.3541, allocations: 17.22 kB / 0.5987 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.3541, allocations: 0 / 0.5987 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3541, allocations: 0 / 0.5987 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.074e-05/0.3542, allocations: 12 kB / 0.5987 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3542, allocations: 4.844 kB / 0.5987 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.3542, allocations: 0 / 0.5987 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.3542, allocations: 9.359 kB / 0.5987 GB, free: 12.76 MB / 446.1 MB 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 4.845e-05/0.3543, allocations: 109.8 kB / 0.5988 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.3543, allocations: 9.281 kB / 0.5989 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.3544, allocations: 85.52 kB / 0.5989 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3544, allocations: 1.438 kB / 0.5989 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3544, allocations: 4 kB / 0.5989 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3544, allocations: 0 / 0.5989 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.098e-05/0.3545, allocations: 161.7 kB / 0.5991 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3545, allocations: 1.312 kB / 0.5991 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-05/0.3546, allocations: 16 kB / 0.5991 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3546, allocations: 3.938 kB / 0.5991 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.3546, allocations: 0 / 0.5991 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3546, allocations: 1.469 kB / 0.5991 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3546, allocations: 0 / 0.5991 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.3548, allocations: 126.3 kB / 0.5992 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.3548, allocations: 81.05 kB / 0.5993 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.3548, allocations: 7.984 kB / 0.5993 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.423e-05/0.3549, allocations: 8.938 kB / 0.5993 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.3549, allocations: 0 / 0.5993 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.3549, allocations: 5.125 kB / 0.5993 GB, free: 12.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.846e-05/0.355, allocations: 76.59 kB / 0.5994 GB, free: 11.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.355, allocations: 0 / 0.5994 GB, free: 11.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002052/0.3552, allocations: 35.98 kB / 0.5994 GB, free: 11.95 MB / 446.1 MB 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.0001789/0.3554, allocations: 132.3 kB / 0.5996 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.3555, allocations: 40.3 kB / 0.5996 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3555, allocations: 0.9688 kB / 0.5996 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.66e-05/0.3555, allocations: 20 kB / 0.5996 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.3557, allocations: 4.531 kB / 0.5996 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.3559, allocations: 127.7 kB / 0.5998 GB, free: 11.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.3561, allocations: 0.6812 MB / 0.6004 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.542e-05/0.3561, allocations: 21.97 kB / 0.6004 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.3561, allocations: 19.31 kB / 0.6005 GB, free: 10.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3561, allocations: 0 / 0.6005 GB, free: 10.85 MB / 446.1 MB Notification: Performance of Templates: time 0.003086/0.3592, allocations: 0.8829 MB / 0.6013 GB, free: 10.05 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)