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.001223/0.001223, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.363 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.032/1.032, allocations: 143 MB / 433.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.91 kB / 0.5142 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1555, allocations: 82.03 MB / 0.5943 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00188/0.1575, allocations: 0.592 MB / 0.5949 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003957/0.1579, allocations: 163.5 kB / 0.595 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.1579, allocations: 3.938 kB / 0.595 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.1579, allocations: 0 / 0.595 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.869e-05/0.158, allocations: 3.938 kB / 0.595 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.1583, allocations: 45.52 kB / 0.5951 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.245e-05/0.1584, allocations: 8 kB / 0.5951 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.1584, allocations: 11.98 kB / 0.5951 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.156e-05/0.1585, allocations: 4 kB / 0.5951 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.792e-05/0.1585, allocations: 3.938 kB / 0.5951 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1585, allocations: 4 kB / 0.5951 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.014e-05/0.1586, allocations: 39.94 kB / 0.5951 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.1586, allocations: 4 kB / 0.5951 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.1587, allocations: 7.938 kB / 0.5951 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.267e-05/0.1588, allocations: 27.89 kB / 0.5952 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1588, allocations: 0 / 0.5952 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1588, allocations: 0 / 0.5952 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.1588, allocations: 7.984 kB / 0.5952 GB, free: 8.66 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.0003589/0.1592, allocations: 335.6 kB / 0.5955 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1592, allocations: 8.625 kB / 0.5955 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.1592, allocations: 4.844 kB / 0.5955 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1593, allocations: 168.3 kB / 0.5957 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.1594, allocations: 384 / 0.5957 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.1594, allocations: 384 / 0.5957 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.985e-05/0.1595, allocations: 46.19 kB / 0.5957 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1595, allocations: 8.172 kB / 0.5957 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.1595, allocations: 7.938 kB / 0.5957 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1595, allocations: 0 / 0.5957 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.473e-05/0.1596, allocations: 15.98 kB / 0.5957 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.1598, allocations: 157.9 kB / 0.5959 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.366e-05/0.1598, allocations: 46.56 kB / 0.5959 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.1599, allocations: 28.97 kB / 0.596 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.331e-05/0.16, allocations: 81.11 kB / 0.596 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.16, allocations: 30.56 kB / 0.5961 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.16, allocations: 4 kB / 0.5961 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001285/0.1613, allocations: 488.3 kB / 0.5965 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.1614, allocations: 55.39 kB / 0.5966 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.1614, allocations: 93.8 kB / 0.5967 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1615, allocations: 29.83 kB / 0.5967 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.023e-05/0.1615, allocations: 84.14 kB / 0.5968 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.1615, allocations: 19.66 kB / 0.5968 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.1616, allocations: 25.7 kB / 0.5968 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1617, allocations: 314.8 kB / 0.5971 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.913e-05/0.1617, allocations: 11.98 kB / 0.5972 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.1618, allocations: 12 kB / 0.5972 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.952e-05/0.1618, allocations: 41.06 kB / 0.5972 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1619, allocations: 4 kB / 0.5972 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001199/0.162, allocations: 77.58 kB / 0.5973 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.162, allocations: 7.938 kB / 0.5973 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.162, allocations: 3.938 kB / 0.5973 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.162, allocations: 0 / 0.5973 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.635e-05/0.1621, allocations: 15.94 kB / 0.5973 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.1621, allocations: 0 / 0.5973 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.1622, allocations: 0 / 0.5973 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.1622, allocations: 4 kB / 0.5973 GB, free: 6.164 MB / 0.4981 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 0.0001008/0.1623, allocations: 117.8 kB / 0.5974 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.1623, allocations: 7.938 kB / 0.5974 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.1625, allocations: 81.58 kB / 0.5975 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1625, allocations: 7.938 kB / 0.5975 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1625, allocations: 0 / 0.5975 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1625, allocations: 0 / 0.5975 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.1626, allocations: 157.7 kB / 0.5977 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1627, allocations: 0 / 0.5977 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-05/0.1627, allocations: 15.98 kB / 0.5977 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1627, allocations: 3.938 kB / 0.5977 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1628, allocations: 8 kB / 0.5977 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1628, allocations: 0 / 0.5977 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.1628, allocations: 192 / 0.5977 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.1629, allocations: 120.9 kB / 0.5978 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.953e-05/0.163, allocations: 85.05 kB / 0.5979 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.1631, allocations: 3.984 kB / 0.5979 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.671e-05/0.1631, allocations: 8.031 kB / 0.5979 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.1631, allocations: 4.062 kB / 0.5979 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1631, allocations: 4 kB / 0.5979 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.869e-05/0.1632, allocations: 75.28 kB / 0.598 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1632, allocations: 0 / 0.598 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000219/0.1634, allocations: 35.98 kB / 0.598 GB, free: 5.336 MB / 0.4981 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.0002236/0.1636, allocations: 127.2 kB / 0.5981 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.1638, allocations: 43.91 kB / 0.5982 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1638, allocations: 4.094 kB / 0.5982 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.152e-05/0.1638, allocations: 20 kB / 0.5982 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.164, allocations: 6.5 kB / 0.5982 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.1643, allocations: 145.4 kB / 0.5983 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.1645, allocations: 0.6806 MB / 0.599 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.692e-05/0.1645, allocations: 16.47 kB / 0.599 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/0.1646, allocations: 11.44 kB / 0.599 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1646, allocations: 0 / 0.599 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.003058/0.1676, allocations: 0.8873 MB / 0.5999 GB, free: 3.379 MB / 0.4981 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)