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.004272/0.004272, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00105/0.00105, allocations: 195.9 kB / 16.67 MB, free: 5.52 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.227/1.227, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.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.287/1.287, allocations: 251.7 MB / 0.5094 GB, free: 436 kB / 430.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.001348/0.001348, allocations: 71.89 kB / 0.7258 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4681/0.4695, allocations: 104.7 MB / 0.828 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002531/0.472, allocations: 1.437 MB / 0.8294 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0007751/0.4728, allocations: 0.5103 MB / 0.8299 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.4729, allocations: 0 / 0.8299 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.147e-05/0.4729, allocations: 0 / 0.8299 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.098e-05/0.473, allocations: 11.92 kB / 0.8299 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.4732, allocations: 19.91 kB / 0.83 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 6.162e-05/0.4733, allocations: 31.92 kB / 0.83 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 9.054e-05/0.4734, allocations: 8 kB / 0.83 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.993e-05/0.4735, allocations: 11.94 kB / 0.83 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 4.3e-05/0.4735, allocations: 11.98 kB / 0.83 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.4735, allocations: 3.938 kB / 0.83 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 6.837e-05/0.4736, allocations: 23.97 kB / 0.8301 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.4736, allocations: 7.984 kB / 0.8301 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.4736, allocations: 7.938 kB / 0.8301 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 9.925e-05/0.4738, allocations: 31.84 kB / 0.8301 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.4738, allocations: 0 / 0.8301 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4738, allocations: 0 / 0.8301 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.4738, allocations: 0 / 0.8301 GB, free: 0.5039 MB / 0.6231 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.0003867/0.4742, allocations: 343.1 kB / 0.8304 GB, free: 128 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.4742, allocations: 12.03 kB / 0.8304 GB, free: 116 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.4742, allocations: 4.844 kB / 0.8304 GB, free: 112 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.4744, allocations: 172.4 kB / 0.8306 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.4744, allocations: 384 / 0.8306 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.4744, allocations: 4.375 kB / 0.8306 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.4746, allocations: 49.98 kB / 0.8307 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.4746, allocations: 4 kB / 0.8307 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.4746, allocations: 4 kB / 0.8307 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.4746, allocations: 0 / 0.8307 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.4747, allocations: 35.91 kB / 0.8307 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.4751, allocations: 251.2 kB / 0.8309 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.4752, allocations: 38.56 kB / 0.831 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/0.4753, allocations: 28.89 kB / 0.831 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.4754, allocations: 89.03 kB / 0.8311 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.4754, allocations: 30.56 kB / 0.8311 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4754, allocations: 0 / 0.8311 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0003087/0.4757, allocations: 93.58 kB / 0.8312 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.4758, allocations: 51.41 kB / 0.8313 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.564e-05/0.4758, allocations: 105.8 kB / 0.8314 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.4759, allocations: 25.7 kB / 0.8314 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.4759, allocations: 80.14 kB / 0.8315 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.4759, allocations: 3.906 kB / 0.8315 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.476, allocations: 17.72 kB / 0.8315 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.157e-05/0.4761, allocations: 314.8 kB / 0.8318 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.186e-05/0.4761, allocations: 20.02 kB / 0.8318 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.165e-05/0.4762, allocations: 15.98 kB / 0.8318 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.4763, allocations: 48.69 kB / 0.8319 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4764, allocations: 0 / 0.8319 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001761/0.4765, allocations: 69.73 kB / 0.8319 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.4766, allocations: 7.938 kB / 0.8319 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4766, allocations: 256 / 0.8319 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.4766, allocations: 0 / 0.8319 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.769e-05/0.4767, allocations: 15.98 kB / 0.832 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.4767, allocations: 0 / 0.832 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.4767, allocations: 7.984 kB / 0.832 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.4767, allocations: 0 / 0.832 GB, free: 14.36 MB / 0.6387 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 6.625e-05/0.4768, allocations: 113.8 kB / 0.8321 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.4768, allocations: 4 kB / 0.8321 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.477, allocations: 76.67 kB / 0.8321 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.477, allocations: 0 / 0.8321 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.4771, allocations: 0 / 0.8321 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.4771, allocations: 4 kB / 0.8321 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.4772, allocations: 161.6 kB / 0.8323 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4772, allocations: 0 / 0.8323 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.4773, allocations: 12.02 kB / 0.8323 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.4773, allocations: 4 kB / 0.8323 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-06/0.4773, allocations: 0 / 0.8323 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4773, allocations: 0 / 0.8323 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4773, allocations: 0 / 0.8323 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.4775, allocations: 171.3 kB / 0.8325 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.4776, allocations: 85.08 kB / 0.8326 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-06/0.4776, allocations: 0 / 0.8326 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.4777, allocations: 7.984 kB / 0.8326 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.4777, allocations: 4 kB / 0.8326 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.4777, allocations: 0 / 0.8326 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.709e-05/0.4778, allocations: 87.22 kB / 0.8327 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4778, allocations: 0 / 0.8327 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002105/0.478, allocations: 11.98 kB / 0.8327 GB, free: 13.54 MB / 0.6387 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.0001354/0.4781, allocations: 104.3 kB / 0.8328 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001817/0.4783, allocations: 31.97 kB / 0.8328 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4783, allocations: 4 kB / 0.8328 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.4784, allocations: 23.91 kB / 0.8328 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.4787, allocations: 7.938 kB / 0.8328 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/0.4789, allocations: 109.8 kB / 0.8329 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.4792, allocations: 0.6883 MB / 0.8336 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.256e-05/0.4792, allocations: 0 / 0.8336 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.4792, allocations: 11.44 kB / 0.8336 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of SimCode: time 2.1e-07/0.4792, allocations: 0 / 0.8336 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.002593/0.4818, allocations: 0.5589 MB / 0.8342 GB, free: 11.94 MB / 0.6387 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)