Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.00142/0.00142, allocations: 177.3 kB / 15.95 MB, free: 216 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.797/1.797, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.643/1.643, allocations: 251.9 MB / 0.51 GB, free: 4.863 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.0009878/0.0009881, allocations: 19.75 kB / 0.6241 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6436/0.6446, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001708/0.6464, allocations: 1.152 MB / 0.7291 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007844/0.6472, allocations: 484.7 kB / 0.7296 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.6472, allocations: 4 kB / 0.7296 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.6473, allocations: 0 / 0.7296 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.692e-05/0.6473, allocations: 7.984 kB / 0.7296 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.6475, allocations: 15.92 kB / 0.7296 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.492e-05/0.6476, allocations: 23.86 kB / 0.7296 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.644e-05/0.6477, allocations: 3.984 kB / 0.7296 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.171e-05/0.6478, allocations: 15.97 kB / 0.7296 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.871e-05/0.6478, allocations: 11.94 kB / 0.7296 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.6478, allocations: 0 / 0.7296 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.025e-05/0.6479, allocations: 23.97 kB / 0.7297 GB, free: 9.711 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.6479, allocations: 4 kB / 0.7297 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.648, allocations: 25.7 kB / 0.7297 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.717e-05/0.6481, allocations: 23.95 kB / 0.7297 GB, free: 9.652 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.6481, allocations: 0 / 0.7297 GB, free: 9.652 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6481, allocations: 0 / 0.7297 GB, free: 9.652 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.6481, allocations: 0 / 0.7297 GB, free: 9.652 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000432/0.6485, allocations: 348.4 kB / 0.73 GB, free: 9.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.6486, allocations: 8.031 kB / 0.73 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.6486, allocations: 4 kB / 0.7301 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.6487, allocations: 174.8 kB / 0.7302 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.6488, allocations: 4 kB / 0.7302 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.6488, allocations: 0 / 0.7302 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.649, allocations: 57.67 kB / 0.7303 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.649, allocations: 0 / 0.7303 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.649, allocations: 0 / 0.7303 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.649, allocations: 0 / 0.7303 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.6492, allocations: 43.95 kB / 0.7303 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.6496, allocations: 252.9 kB / 0.7306 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.6497, allocations: 50.53 kB / 0.7306 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.6498, allocations: 81.17 kB / 0.7307 GB, free: 8.484 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.6499, allocations: 34.56 kB / 0.7307 GB, free: 8.441 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.6499, allocations: 0 / 0.7307 GB, free: 8.441 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003682/0.6503, allocations: 93.64 kB / 0.7308 GB, free: 8.344 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.6503, allocations: 63.47 kB / 0.7309 GB, free: 8.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.6504, allocations: 105.8 kB / 0.731 GB, free: 8.156 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.6504, allocations: 29.64 kB / 0.731 GB, free: 8.121 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/0.6505, allocations: 84.14 kB / 0.7311 GB, free: 8.035 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.6505, allocations: 3.906 kB / 0.7311 GB, free: 8.031 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.6505, allocations: 4 kB / 0.7311 GB, free: 8.027 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.6507, allocations: 314.8 kB / 0.7314 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.543e-05/0.6508, allocations: 23.98 kB / 0.7314 GB, free: 7.688 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.154e-05/0.6509, allocations: 19.98 kB / 0.7314 GB, free: 7.668 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.266e-05/0.651, allocations: 19.98 kB / 0.7314 GB, free: 7.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.651, allocations: 4.062 kB / 0.7314 GB, free: 7.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001883/0.6512, allocations: 77.66 kB / 0.7315 GB, free: 7.562 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.6512, allocations: 10.12 kB / 0.7315 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.6512, allocations: 4 kB / 0.7315 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.6512, allocations: 0 / 0.7315 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/0.6513, allocations: 19.95 kB / 0.7316 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.6514, allocations: 0 / 0.7316 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.203e-05/0.6514, allocations: 15.84 kB / 0.7316 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.6514, allocations: 4 kB / 0.7316 GB, free: 7.512 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 (2): * Single equations (assignments): 2 * 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 6.755e-05/0.6515, allocations: 105.8 kB / 0.7317 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.6515, allocations: 0 / 0.7317 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.6518, allocations: 84.78 kB / 0.7318 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.6518, allocations: 4 kB / 0.7318 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6518, allocations: 0 / 0.7318 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.6518, allocations: 0 / 0.7318 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.652, allocations: 161.6 kB / 0.7319 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.652, allocations: 0 / 0.7319 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.652, allocations: 16.27 kB / 0.7319 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.652, allocations: 0 / 0.7319 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.6521, allocations: 8 kB / 0.7319 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6521, allocations: 3.938 kB / 0.7319 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6521, allocations: 0 / 0.7319 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.6523, allocations: 175.5 kB / 0.7321 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.6524, allocations: 81.02 kB / 0.7322 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.6524, allocations: 4 kB / 0.7322 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.6525, allocations: 7.984 kB / 0.7322 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.6525, allocations: 3.984 kB / 0.7322 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.6526, allocations: 12.03 kB / 0.7322 GB, free: 6.762 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.079e-05/0.6526, allocations: 83.22 kB / 0.7323 GB, free: 6.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6526, allocations: 0 / 0.7323 GB, free: 6.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002162/0.6528, allocations: 7.938 kB / 0.7323 GB, free: 6.672 MB / 0.545 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 (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.0001589/0.653, allocations: 103.2 kB / 0.7324 GB, free: 6.559 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.6532, allocations: 51.91 kB / 0.7324 GB, free: 6.508 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.6532, allocations: 0 / 0.7324 GB, free: 6.508 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.685e-05/0.6533, allocations: 27.97 kB / 0.7325 GB, free: 6.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.6535, allocations: 7.891 kB / 0.7325 GB, free: 6.473 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.6538, allocations: 112.8 kB / 0.7326 GB, free: 6.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.6543, allocations: 0.6809 MB / 0.7333 GB, free: 5.633 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.436e-05/0.6543, allocations: 0 / 0.7333 GB, free: 5.633 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.6544, allocations: 7.438 kB / 0.7333 GB, free: 5.625 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.6544, allocations: 4 kB / 0.7333 GB, free: 5.621 MB / 0.545 GB Notification: Performance of Templates: time 0.002868/0.6572, allocations: 484.3 kB / 0.7337 GB, free: 5.156 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) Environment - environmentSimulation: