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/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.288/1.288, allocations: 252 MB / 267.9 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009122/0.0009122, allocations: 176 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 0.5785 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007493/0.0007494, allocations: 96.08 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003589, allocations: 15.47 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1738, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.3219, allocations: 132.2 MB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.3222, allocations: 71.97 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002811/0.325, allocations: 1.098 MB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.803e-06/0.325, allocations: 0 / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.325, allocations: 0 / 1.031 GB, free: 10.19 MB / 0.6823 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.0003198/0.3253, allocations: 351.4 kB / 1.032 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3254, allocations: 8.031 kB / 1.032 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.3254, allocations: 0.9375 kB / 1.032 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.151e-05/0.3255, allocations: 168.3 kB / 1.032 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.3255, allocations: 4.375 kB / 1.032 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.3255, allocations: 384 / 1.032 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.3257, allocations: 62.17 kB / 1.032 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.3257, allocations: 4.188 kB / 1.032 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3258, allocations: 3.938 kB / 1.032 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3258, allocations: 0 / 1.032 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.3259, allocations: 43.95 kB / 1.032 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.3263, allocations: 265 kB / 1.032 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.3264, allocations: 42.5 kB / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.3e-05/0.3265, allocations: 40.78 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.3266, allocations: 85.09 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.3267, allocations: 30.56 kB / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3267, allocations: 0 / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003298/0.327, allocations: 105.6 kB / 1.033 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.3271, allocations: 51.41 kB / 1.033 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.911e-05/0.3271, allocations: 105.8 kB / 1.033 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3272, allocations: 29.7 kB / 1.033 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.3272, allocations: 84.27 kB / 1.033 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.3272, allocations: 11.84 kB / 1.033 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-06/0.3272, allocations: 0 / 1.033 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.472e-05/0.3273, allocations: 310.8 kB / 1.033 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.518e-05/0.3274, allocations: 27.92 kB / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.375e-05/0.3275, allocations: 27.97 kB / 1.033 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.3276, allocations: 44.83 kB / 1.033 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3276, allocations: 0 / 1.033 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001843/0.3278, allocations: 85.66 kB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3279, allocations: 4 kB / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.3279, allocations: 0 / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3279, allocations: 4 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.192e-05/0.328, allocations: 11.98 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.328, allocations: 4.031 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.328, allocations: 12.09 kB / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.3281, allocations: 4 kB / 1.033 GB, free: 7.957 MB / 0.6823 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.669e-05/0.3281, allocations: 113.8 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.3282, allocations: 4 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.3284, allocations: 88.77 kB / 1.034 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.3284, allocations: 0 / 1.034 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3284, allocations: 4 kB / 1.034 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3284, allocations: 0 / 1.034 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.3286, allocations: 161.6 kB / 1.034 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3286, allocations: 0 / 1.034 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.3286, allocations: 12.03 kB / 1.034 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3286, allocations: 0 / 1.034 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.3286, allocations: 0 / 1.034 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3286, allocations: 4 kB / 1.034 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.3287, allocations: 3.984 kB / 1.034 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.3289, allocations: 177.2 kB / 1.034 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.3289, allocations: 85 kB / 1.034 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.3289, allocations: 4 kB / 1.034 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.329, allocations: 4 kB / 1.034 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.3291, allocations: 3.984 kB / 1.034 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.3291, allocations: 11.88 kB / 1.034 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.527e-05/0.3291, allocations: 87.31 kB / 1.034 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3291, allocations: 0 / 1.034 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001994/0.3293, allocations: 4 kB / 1.034 GB, free: 7.105 MB / 0.6823 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.0001277/0.3295, allocations: 103.2 kB / 1.034 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.3297, allocations: 51.91 kB / 1.034 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3297, allocations: 0 / 1.034 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.673e-05/0.3298, allocations: 23.98 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.3301, allocations: 14.16 kB / 1.034 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.3303, allocations: 104.8 kB / 1.034 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.3306, allocations: 0.6809 MB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.319e-05/0.3306, allocations: 0 / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.3306, allocations: 7.438 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.3306, allocations: 0 / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of Templates: time 0.002211/0.3328, allocations: 493.7 kB / 1.036 GB, free: 5.59 MB / 0.6823 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)