Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001267/0.001267, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001848/0.001848, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.4 MB / 222.1 MB, free: 5.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.558/1.558, allocations: 252 MB / 0.5102 GB, free: 4.77 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005461/0.0005462, allocations: 20 kB / 0.6243 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5501/0.5507, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007969/0.5515, allocations: 340.5 kB / 0.7285 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003862/0.5519, allocations: 154.5 kB / 0.7286 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.395e-05/0.5519, allocations: 0 / 0.7286 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.088e-05/0.552, allocations: 4 kB / 0.7286 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.728e-05/0.552, allocations: 0 / 0.7286 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.5523, allocations: 19.97 kB / 0.7286 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.563e-05/0.5523, allocations: 19.92 kB / 0.7286 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.5524, allocations: 3.984 kB / 0.7287 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.983e-05/0.5524, allocations: 4 kB / 0.7287 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.717e-05/0.5525, allocations: 4 kB / 0.7287 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.5525, allocations: 7.938 kB / 0.7287 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.701e-05/0.5526, allocations: 35.95 kB / 0.7287 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.5526, allocations: 7.984 kB / 0.7287 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.5527, allocations: 25.7 kB / 0.7287 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.013e-05/0.5527, allocations: 23.91 kB / 0.7288 GB, free: 10.78 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.5527, allocations: 0 / 0.7288 GB, free: 10.78 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.925e-06/0.5527, allocations: 0 / 0.7288 GB, free: 10.78 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.5528, allocations: 3.938 kB / 0.7288 GB, free: 10.78 MB / 0.545 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.0003749/0.5531, allocations: 327.3 kB / 0.7291 GB, free: 10.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.5532, allocations: 8.031 kB / 0.7291 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.5532, allocations: 4 kB / 0.7291 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.5533, allocations: 169 kB / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.5534, allocations: 0 / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.5534, allocations: 8 kB / 0.7293 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.5535, allocations: 45.62 kB / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.5535, allocations: 0 / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.5535, allocations: 0 / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.5535, allocations: 0 / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.584e-05/0.5536, allocations: 11.98 kB / 0.7293 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.5538, allocations: 161.6 kB / 0.7295 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.134e-05/0.5539, allocations: 50.62 kB / 0.7295 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.5539, allocations: 16.98 kB / 0.7295 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.554, allocations: 85.03 kB / 0.7296 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.5541, allocations: 34.56 kB / 0.7296 GB, free: 9.695 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.5541, allocations: 0 / 0.7296 GB, free: 9.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.001211/0.5553, allocations: 0.4923 MB / 0.7301 GB, free: 9.129 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.5553, allocations: 51.41 kB / 0.7302 GB, free: 9.066 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.531e-05/0.5554, allocations: 93.84 kB / 0.7303 GB, free: 8.965 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.5554, allocations: 33.7 kB / 0.7303 GB, free: 8.926 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.5555, allocations: 80.14 kB / 0.7304 GB, free: 8.844 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.5555, allocations: 15.72 kB / 0.7304 GB, free: 8.828 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.5555, allocations: 4 kB / 0.7304 GB, free: 8.824 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.5556, allocations: 318.9 kB / 0.7307 GB, free: 8.504 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.495e-05/0.5557, allocations: 16 kB / 0.7307 GB, free: 8.488 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.5557, allocations: 16 kB / 0.7307 GB, free: 8.473 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.5557, allocations: 15.98 kB / 0.7307 GB, free: 8.457 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.5557, allocations: 4 kB / 0.7307 GB, free: 8.453 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001039/0.5559, allocations: 69.67 kB / 0.7308 GB, free: 8.379 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5559, allocations: 4 kB / 0.7308 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.5559, allocations: 0 / 0.7308 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.5559, allocations: 3.938 kB / 0.7308 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.556, allocations: 12 kB / 0.7308 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.556, allocations: 0 / 0.7308 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.556, allocations: 8 kB / 0.7308 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.5561, allocations: 3.984 kB / 0.7308 GB, free: 8.348 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.752e-05/0.5561, allocations: 125.7 kB / 0.731 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.5562, allocations: 0 / 0.731 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.5563, allocations: 81.55 kB / 0.731 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.5563, allocations: 4 kB / 0.731 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.5563, allocations: 0 / 0.731 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.5564, allocations: 4 kB / 0.731 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.5565, allocations: 173.5 kB / 0.7312 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5565, allocations: 0 / 0.7312 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.506e-05/0.5566, allocations: 12 kB / 0.7312 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5566, allocations: 3.938 kB / 0.7312 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.5566, allocations: 4.188 kB / 0.7312 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.5566, allocations: 4 kB / 0.7312 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5566, allocations: 4 kB / 0.7312 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.5568, allocations: 109.1 kB / 0.7313 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.5568, allocations: 88.95 kB / 0.7314 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.5568, allocations: 4 kB / 0.7314 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.301e-05/0.5569, allocations: 4.031 kB / 0.7314 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.5569, allocations: 0 / 0.7314 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.5569, allocations: 4 kB / 0.7314 GB, free: 7.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.744e-05/0.557, allocations: 75.28 kB / 0.7315 GB, free: 7.555 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.557, allocations: 0 / 0.7315 GB, free: 7.555 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002126/0.5572, allocations: 31.98 kB / 0.7315 GB, free: 7.523 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002125/0.5574, allocations: 139.3 kB / 0.7317 GB, free: 7.379 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.5575, allocations: 35.98 kB / 0.7317 GB, free: 7.344 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5575, allocations: 0 / 0.7317 GB, free: 7.344 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.174e-05/0.5576, allocations: 23.94 kB / 0.7317 GB, free: 7.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.5577, allocations: 6.625 kB / 0.7317 GB, free: 7.316 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.558, allocations: 153.4 kB / 0.7319 GB, free: 7.145 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.5583, allocations: 0.6848 MB / 0.7325 GB, free: 6.434 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.766e-05/0.5583, allocations: 11.92 kB / 0.7326 GB, free: 6.418 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.5584, allocations: 11.44 kB / 0.7326 GB, free: 6.406 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.5584, allocations: 0 / 0.7326 GB, free: 6.406 MB / 0.545 GB Notification: Performance of Templates: time 0.00304/0.5614, allocations: 0.8345 MB / 0.7334 GB, free: 5.602 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: