Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.332/2.332, allocations: 253.2 MB / 260.6 MB, free: 7.492 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 183.3 kB / 319.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.6 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 86.66 kB / 0.6751 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.931e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2718, allocations: 106.2 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9312/1.203, allocations: 132.1 MB / 1.018 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/1.203, allocations: 75.17 kB / 1.018 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004479/1.208, allocations: 1.076 MB / 1.019 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.342e-06/1.208, allocations: 0 / 1.019 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.532e-06/1.208, allocations: 0 / 1.019 GB, free: 4.227 MB / 0.6355 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.0004325/1.208, allocations: 338.4 kB / 1.019 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.208, allocations: 12.02 kB / 1.019 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/1.209, allocations: 7.625 kB / 1.019 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/1.209, allocations: 167 kB / 1.019 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/1.209, allocations: 0 / 1.019 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/1.209, allocations: 7.984 kB / 1.019 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.452e-05/1.209, allocations: 8.125 kB / 1.019 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.996e-05/1.209, allocations: 40.25 kB / 1.019 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.209, allocations: 4 kB / 1.019 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/1.209, allocations: 4 kB / 1.019 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/1.209, allocations: 0 / 1.019 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/1.209, allocations: 245.1 kB / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.653e-05/1.21, allocations: 26.3 kB / 1.02 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/1.21, allocations: 12.92 kB / 1.02 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/1.21, allocations: 85.05 kB / 1.02 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/1.21, allocations: 34.5 kB / 1.02 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/1.21, allocations: 0 / 1.02 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002946/1.21, allocations: 56.34 kB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/1.21, allocations: 55.39 kB / 1.02 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.313e-05/1.21, allocations: 92 kB / 1.02 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/1.21, allocations: 25.7 kB / 1.02 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/1.21, allocations: 84.17 kB / 1.02 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/1.21, allocations: 7.906 kB / 1.02 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/1.21, allocations: 0 / 1.02 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.211, allocations: 321.8 kB / 1.02 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.426e-05/1.211, allocations: 7.875 kB / 1.02 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.882e-05/1.211, allocations: 0 / 1.02 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/1.211, allocations: 15.23 kB / 1.02 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.211, allocations: 0 / 1.02 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001913/1.211, allocations: 57.56 kB / 1.02 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.211, allocations: 9.344 kB / 1.02 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/1.211, allocations: 3.984 kB / 1.02 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/1.211, allocations: 0 / 1.02 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/1.211, allocations: 15.98 kB / 1.021 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/1.211, allocations: 0 / 1.021 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.685e-05/1.211, allocations: 11.92 kB / 1.021 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/1.211, allocations: 0 / 1.021 GB, free: 2.344 MB / 0.6355 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 () * 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 7.988e-05/1.211, allocations: 113 kB / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/1.211, allocations: 0 / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/1.212, allocations: 58.56 kB / 1.021 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/1.212, allocations: 4 kB / 1.021 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.212, allocations: 0 / 1.021 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/1.212, allocations: 0 / 1.021 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/1.212, allocations: 141.4 kB / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.212, allocations: 0 / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/1.212, allocations: 19.95 kB / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.212, allocations: 0 / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/1.212, allocations: 2.312 kB / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/1.212, allocations: 0 / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.212, allocations: 4 kB / 1.021 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/1.212, allocations: 144 kB / 1.021 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/1.212, allocations: 85.06 kB / 1.021 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/1.212, allocations: 4.031 kB / 1.021 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/1.213, allocations: 7.984 kB / 1.021 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/1.213, allocations: 4 kB / 1.021 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/1.213, allocations: 0 / 1.021 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.501e-05/1.213, allocations: 86.28 kB / 1.021 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.2e-07/1.213, allocations: 0 / 1.021 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003104/1.213, allocations: 8 kB / 1.021 GB, free: 1.613 MB / 0.6355 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 () * 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.0001831/1.213, allocations: 111.6 kB / 1.021 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.759e-05/1.213, allocations: 15.44 kB / 1.021 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.213, allocations: 0 / 1.021 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.22e-05/1.213, allocations: 7.25 kB / 1.021 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/1.214, allocations: 4 kB / 1.021 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/1.214, allocations: 63.48 kB / 1.021 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/1.214, allocations: 0.6885 MB / 1.022 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.011e-05/1.214, allocations: 3.953 kB / 1.022 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/1.214, allocations: 7.438 kB / 1.022 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of SimCode: time 7.41e-07/1.214, allocations: 0 / 1.022 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of Templates: time 0.003026/1.217, allocations: 461.5 kB / 1.022 GB, free: 240 kB / 0.6355 GB