Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002497/0.002502, allocations: 354.6 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.34/1.34, allocations: 165.8 MB / 183.1 MB, free: 5.906 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.205/4.205, allocations: 410.8 MB / 0.6001 GB, free: 2.203 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001826/0.001826, allocations: 184.8 kB / 0.6668 GB, free: 14.06 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006317/0.000632, allocations: 12 kB / 0.7429 GB, free: 56 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4651/0.4657, allocations: 67.43 MB / 0.8087 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.6116, allocations: 98.75 MB / 0.9051 GB, free: 158.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.612, allocations: 85.88 kB / 0.9052 GB, free: 158.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.00418/0.6162, allocations: 1.079 MB / 0.9063 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6162, allocations: 0 / 0.9063 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.6162, allocations: 1.906 kB / 0.9063 GB, free: 157.5 MB / 0.5886 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.0003834/0.6166, allocations: 347.8 kB / 0.9066 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.6167, allocations: 8.562 kB / 0.9066 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.6167, allocations: 7.844 kB / 0.9066 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.804e-05/0.6168, allocations: 169.7 kB / 0.9068 GB, free: 156.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.6168, allocations: 0 / 0.9068 GB, free: 156.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.6168, allocations: 0 / 0.9068 GB, free: 156.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.6171, allocations: 49.69 kB / 0.9068 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.6171, allocations: 8.516 kB / 0.9068 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.6171, allocations: 8.422 kB / 0.9069 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.6171, allocations: 0 / 0.9069 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.6174, allocations: 45.69 kB / 0.9069 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.6179, allocations: 270.8 kB / 0.9072 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.6181, allocations: 42.09 kB / 0.9072 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.6182, allocations: 32.91 kB / 0.9072 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.6184, allocations: 87.16 kB / 0.9073 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.6184, allocations: 34.52 kB / 0.9073 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.6184, allocations: 0 / 0.9073 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0005281/0.619, allocations: 109.4 kB / 0.9074 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.619, allocations: 51.41 kB / 0.9075 GB, free: 156 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.6191, allocations: 102.6 kB / 0.9076 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.6191, allocations: 29.7 kB / 0.9076 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.6191, allocations: 85.39 kB / 0.9077 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.6192, allocations: 7.844 kB / 0.9077 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.6192, allocations: 0 / 0.9077 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.652e-05/0.6193, allocations: 311.6 kB / 0.908 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.6194, allocations: 29.22 kB / 0.908 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.6195, allocations: 22.11 kB / 0.9081 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.6197, allocations: 21.27 kB / 0.9081 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6197, allocations: 0 / 0.9081 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003109/0.62, allocations: 80.47 kB / 0.9082 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.6201, allocations: 11.95 kB / 0.9082 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.6201, allocations: 4.125 kB / 0.9082 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.6201, allocations: 2.469 kB / 0.9082 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.6202, allocations: 11.98 kB / 0.9082 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.6203, allocations: 0 / 0.9082 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.343e-05/0.6203, allocations: 8 kB / 0.9082 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.6204, allocations: 0.625 kB / 0.9082 GB, free: 155.3 MB / 0.5886 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.044e-05/0.6204, allocations: 116.6 kB / 0.9083 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.6205, allocations: 4 kB / 0.9083 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003444/0.6208, allocations: 84.7 kB / 0.9084 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.6208, allocations: 1.453 kB / 0.9084 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.6209, allocations: 0 / 0.9084 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.6209, allocations: 0 / 0.9084 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.621, allocations: 170.1 kB / 0.9086 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.621, allocations: 7.422 kB / 0.9086 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.725e-05/0.6212, allocations: 13.53 kB / 0.9086 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6212, allocations: 0 / 0.9086 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.6212, allocations: 0 / 0.9086 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.6212, allocations: 4.609 kB / 0.9086 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6212, allocations: 0 / 0.9086 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.6215, allocations: 167.5 kB / 0.9087 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.386e-05/0.6216, allocations: 85.09 kB / 0.9088 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.6216, allocations: 4.906 kB / 0.9088 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.6217, allocations: 4.625 kB / 0.9088 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.6218, allocations: 11.94 kB / 0.9088 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.6218, allocations: 2.25 kB / 0.9088 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.083e-05/0.6218, allocations: 79.28 kB / 0.9089 GB, free: 154.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.11e-07/0.6219, allocations: 0 / 0.9089 GB, free: 154.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002763/0.6221, allocations: 12 kB / 0.9089 GB, free: 154.5 MB / 0.5886 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.0001639/0.6223, allocations: 104.8 kB / 0.909 GB, free: 154.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.6226, allocations: 49.55 kB / 0.9091 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6227, allocations: 1.719 kB / 0.9091 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.6228, allocations: 19.98 kB / 0.9091 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.6232, allocations: 12.92 kB / 0.9091 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.6235, allocations: 110.6 kB / 0.9092 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.6236, allocations: 0.6792 MB / 0.9099 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.429e-05/0.6236, allocations: 8.172 kB / 0.9099 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.6237, allocations: 16.03 kB / 0.9099 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of SimCode: time 8.62e-07/0.6237, allocations: 3.938 kB / 0.9099 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.002935/0.6266, allocations: 481.6 kB / 0.9104 GB, free: 153 MB / 0.5886 GB