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.001045/0.001045, 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.00109/0.00109, allocations: 194 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.189/1.189, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.362/1.362, allocations: 251.7 MB / 0.5092 GB, free: 3.098 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.001357/0.001357, allocations: 63.91 kB / 0.6223 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4443, allocations: 104.7 MB / 0.7245 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002338/0.4467, allocations: 1.433 MB / 0.7259 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006758/0.4473, allocations: 0.5041 MB / 0.7264 GB, free: 11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.4474, allocations: 0 / 0.7264 GB, free: 11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.4474, allocations: 7.922 kB / 0.7264 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/0.4475, allocations: 0 / 0.7264 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.4477, allocations: 35.84 kB / 0.7264 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.801e-05/0.4477, allocations: 23.92 kB / 0.7265 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.113e-05/0.4478, allocations: 8 kB / 0.7265 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.247e-05/0.4479, allocations: 4 kB / 0.7265 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.326e-05/0.4479, allocations: 15.92 kB / 0.7265 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.4479, allocations: 0 / 0.7265 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.216e-05/0.448, allocations: 23.92 kB / 0.7265 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.448, allocations: 11.97 kB / 0.7265 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.448, allocations: 11.94 kB / 0.7265 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.341e-05/0.4481, allocations: 27.91 kB / 0.7266 GB, free: 10.83 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.4481, allocations: 0 / 0.7266 GB, free: 10.83 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4481, allocations: 0 / 0.7266 GB, free: 10.83 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.4481, allocations: 0 / 0.7266 GB, free: 10.83 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.0004045/0.4486, allocations: 341.4 kB / 0.7269 GB, free: 10.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.4486, allocations: 8.031 kB / 0.7269 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.4486, allocations: 4.844 kB / 0.7269 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.297e-05/0.4487, allocations: 180.3 kB / 0.7271 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.4487, allocations: 384 / 0.7271 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.4488, allocations: 4.375 kB / 0.7271 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.4489, allocations: 57.92 kB / 0.7271 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4489, allocations: 0 / 0.7271 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.4489, allocations: 0 / 0.7271 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.449, allocations: 7.938 kB / 0.7271 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.4491, allocations: 27.97 kB / 0.7272 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.4494, allocations: 260.9 kB / 0.7274 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.4495, allocations: 34.56 kB / 0.7274 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.984e-05/0.4496, allocations: 28.83 kB / 0.7275 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.4497, allocations: 85.09 kB / 0.7276 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.4497, allocations: 34.56 kB / 0.7276 GB, free: 9.602 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4497, allocations: 4 kB / 0.7276 GB, free: 9.598 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003185/0.4501, allocations: 85.55 kB / 0.7277 GB, free: 9.508 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.4501, allocations: 51.41 kB / 0.7277 GB, free: 9.445 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.289e-05/0.4502, allocations: 105.8 kB / 0.7278 GB, free: 9.332 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.4502, allocations: 25.7 kB / 0.7279 GB, free: 9.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.4502, allocations: 80.14 kB / 0.7279 GB, free: 9.219 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.4502, allocations: 16.03 kB / 0.7279 GB, free: 9.203 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.4503, allocations: 9.719 kB / 0.728 GB, free: 9.188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.4504, allocations: 314.8 kB / 0.7283 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.697e-05/0.4505, allocations: 23.92 kB / 0.7283 GB, free: 8.848 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.4505, allocations: 11.98 kB / 0.7283 GB, free: 8.836 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.4507, allocations: 48.83 kB / 0.7283 GB, free: 8.785 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4507, allocations: 0 / 0.7283 GB, free: 8.785 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001711/0.4509, allocations: 69.59 kB / 0.7284 GB, free: 8.711 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4509, allocations: 4 kB / 0.7284 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4509, allocations: 0 / 0.7284 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.4509, allocations: 0 / 0.7284 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.451, allocations: 11.98 kB / 0.7284 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.451, allocations: 32 / 0.7284 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.451, allocations: 15.92 kB / 0.7284 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.4511, allocations: 0 / 0.7284 GB, free: 8.68 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.807e-05/0.4511, allocations: 113.8 kB / 0.7285 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.4512, allocations: 4 kB / 0.7285 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.4514, allocations: 68.77 kB / 0.7286 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4514, allocations: 4.031 kB / 0.7286 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4514, allocations: 4 kB / 0.7286 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4514, allocations: 0 / 0.7286 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.4515, allocations: 161.6 kB / 0.7288 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4515, allocations: 3.938 kB / 0.7288 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.4516, allocations: 11.98 kB / 0.7288 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4516, allocations: 256 / 0.7288 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.4516, allocations: 0 / 0.7288 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.4516, allocations: 4 kB / 0.7288 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4516, allocations: 0 / 0.7288 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.4518, allocations: 175.3 kB / 0.729 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/0.4519, allocations: 77.11 kB / 0.729 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.4519, allocations: 4 kB / 0.729 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.884e-05/0.4519, allocations: 7.984 kB / 0.729 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.452, allocations: 4 kB / 0.729 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.452, allocations: 0 / 0.729 GB, free: 7.953 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.085e-05/0.452, allocations: 83.31 kB / 0.7291 GB, free: 7.871 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.452, allocations: 0 / 0.7291 GB, free: 7.871 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002079/0.4522, allocations: 15.94 kB / 0.7291 GB, free: 7.855 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 (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.0001206/0.4524, allocations: 103.2 kB / 0.7292 GB, free: 7.742 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.4526, allocations: 39.91 kB / 0.7293 GB, free: 7.703 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4526, allocations: 0 / 0.7293 GB, free: 7.703 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.763e-05/0.4527, allocations: 24.03 kB / 0.7293 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.4529, allocations: 11.94 kB / 0.7293 GB, free: 7.668 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002194/0.4531, allocations: 105.5 kB / 0.7294 GB, free: 7.539 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.4534, allocations: 0.6768 MB / 0.7301 GB, free: 6.836 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.179e-05/0.4534, allocations: 4 kB / 0.7301 GB, free: 6.832 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.4534, allocations: 15.44 kB / 0.7301 GB, free: 6.816 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4534, allocations: 0 / 0.7301 GB, free: 6.816 MB / 0.545 GB Notification: Performance of Templates: time 0.002279/0.4557, allocations: 0.5703 MB / 0.7306 GB, free: 6.258 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (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)