Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.567/1.567, allocations: 289.9 MB / 297.4 MB, free: 6.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009357/0.0009358, allocations: 180.9 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.2 MB / 0.626 GB, free: 7.195 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008456/0.0008455, allocations: 92.22 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.668e-05/1.67e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6516/0.6516, allocations: 116.3 MB / 0.9732 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/0.8326, allocations: 138.7 MB / 1.109 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.8328, allocations: 76.81 kB / 1.109 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00312/0.836, allocations: 1.069 MB / 1.11 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.976e-06/0.836, allocations: 0.8438 kB / 1.11 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.836, allocations: 3.828 kB / 1.11 GB, free: 10.42 MB / 0.7136 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.0003398/0.8364, allocations: 332.3 kB / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.8364, allocations: 12.56 kB / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.8365, allocations: 9.062 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.8366, allocations: 177.6 kB / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.8366, allocations: 0 / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.8366, allocations: 0 / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.716e-05/0.8367, allocations: 12.78 kB / 1.11 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.049e-05/0.8368, allocations: 34.56 kB / 1.11 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.8368, allocations: 0 / 1.11 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.8368, allocations: 3.984 kB / 1.11 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.8368, allocations: 0.7188 kB / 1.11 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.8372, allocations: 244.9 kB / 1.111 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.826e-05/0.8373, allocations: 31.36 kB / 1.111 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/0.8373, allocations: 9.484 kB / 1.111 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.8375, allocations: 88.19 kB / 1.111 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.8375, allocations: 34.56 kB / 1.111 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.8375, allocations: 0 / 1.111 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002456/0.8378, allocations: 45.69 kB / 1.111 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.8378, allocations: 51.41 kB / 1.111 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.249e-05/0.8379, allocations: 99.7 kB / 1.111 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.8379, allocations: 25.7 kB / 1.111 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.8379, allocations: 84.14 kB / 1.111 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.838, allocations: 7.906 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.838, allocations: 0 / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.986e-05/0.8381, allocations: 310.8 kB / 1.111 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.8381, allocations: 5.281 kB / 1.111 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/0.8381, allocations: 11.94 kB / 1.111 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.803e-05/0.8382, allocations: 17 kB / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.8382, allocations: 0 / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001282/0.8383, allocations: 49.67 kB / 1.111 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.8384, allocations: 4.75 kB / 1.111 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.8384, allocations: 5.312 kB / 1.111 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.8384, allocations: 5.703 kB / 1.111 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.357e-05/0.8385, allocations: 15.11 kB / 1.111 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.8385, allocations: 0 / 1.111 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.8386, allocations: 15.84 kB / 1.111 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.8386, allocations: 7.062 kB / 1.111 GB, free: 8.52 MB / 0.7136 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 5.865e-05/0.8387, allocations: 104.9 kB / 1.112 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.8387, allocations: 0 / 1.112 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001697/0.8389, allocations: 61.36 kB / 1.112 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8389, allocations: 0 / 1.112 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.8389, allocations: 0 / 1.112 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.8389, allocations: 3.094 kB / 1.112 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.839, allocations: 138.2 kB / 1.112 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.839, allocations: 0 / 1.112 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.716e-05/0.8391, allocations: 13.95 kB / 1.112 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.8391, allocations: 7.953 kB / 1.112 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.8391, allocations: 0 / 1.112 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.8391, allocations: 0 / 1.112 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8391, allocations: 160 / 1.112 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.8393, allocations: 147.5 kB / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.8394, allocations: 81.02 kB / 1.112 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.8394, allocations: 7.938 kB / 1.112 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-05/0.8395, allocations: 10.56 kB / 1.112 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.8395, allocations: 7.922 kB / 1.112 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.8396, allocations: 0 / 1.112 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.642e-05/0.8396, allocations: 86.38 kB / 1.112 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8396, allocations: 0 / 1.112 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002091/0.8398, allocations: 12 kB / 1.112 GB, free: 7.773 MB / 0.7136 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.0001375/0.84, allocations: 103.2 kB / 1.112 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.898e-05/0.84, allocations: 12 kB / 1.112 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8401, allocations: 0 / 1.112 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.998e-05/0.8401, allocations: 8 kB / 1.112 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.8403, allocations: 9.797 kB / 1.112 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001955/0.8405, allocations: 60 kB / 1.112 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.8407, allocations: 0.6867 MB / 1.113 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.35e-05/0.8407, allocations: 0 / 1.113 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.8408, allocations: 11.44 kB / 1.113 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.8408, allocations: 0 / 1.113 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of Templates: time 0.002135/0.8429, allocations: 450.1 kB / 1.113 GB, free: 6.422 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)