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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 103.7 kB / 15.98 MB, free: 6.348 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.00113/0.001131, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.394/1.394, allocations: 205.1 MB / 222.8 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 292.3 MB / 0.5492 GB, free: 13.59 MB / 462.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.001443/0.001443, allocations: 63.88 kB / 0.6716 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2782, allocations: 114.5 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.003459/0.2818, allocations: 1.495 MB / 0.785 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008683/0.2826, allocations: 0.5094 MB / 0.7855 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.841e-05/0.2827, allocations: 0 / 0.7855 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.2827, allocations: 0 / 0.7855 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.99e-05/0.2828, allocations: 3.938 kB / 0.7855 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.2831, allocations: 15.98 kB / 0.7855 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.611e-05/0.2831, allocations: 31.8 kB / 0.7855 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.695e-05/0.2832, allocations: 8 kB / 0.7855 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.436e-05/0.2833, allocations: 4 kB / 0.7855 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.343e-05/0.2834, allocations: 19.91 kB / 0.7855 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.2834, allocations: 0 / 0.7855 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.046e-05/0.2835, allocations: 27.92 kB / 0.7856 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.2835, allocations: 7.984 kB / 0.7856 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.2835, allocations: 11.94 kB / 0.7856 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.76e-05/0.2836, allocations: 19.97 kB / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2836, allocations: 0 / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2836, allocations: 4 kB / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.2836, allocations: 0 / 0.7856 GB, free: 11.74 MB / 0.6075 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.0005054/0.2841, allocations: 339.7 kB / 0.7859 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2842, allocations: 12.03 kB / 0.7859 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.2842, allocations: 4.938 kB / 0.7859 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.2844, allocations: 168.3 kB / 0.7861 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.2844, allocations: 4.375 kB / 0.7861 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.2844, allocations: 384 / 0.7861 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.2846, allocations: 53.98 kB / 0.7862 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2846, allocations: 0 / 0.7862 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.2846, allocations: 0 / 0.7862 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2846, allocations: 0 / 0.7862 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.2848, allocations: 47.88 kB / 0.7862 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.2852, allocations: 244.9 kB / 0.7864 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.2854, allocations: 38.59 kB / 0.7865 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.128e-05/0.2855, allocations: 28.84 kB / 0.7865 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.2857, allocations: 85.09 kB / 0.7866 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.2857, allocations: 34.56 kB / 0.7866 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2857, allocations: 0 / 0.7866 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004919/0.2862, allocations: 85.58 kB / 0.7867 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.2863, allocations: 51.41 kB / 0.7868 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.07e-05/0.2863, allocations: 106 kB / 0.7869 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.2864, allocations: 25.7 kB / 0.7869 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.2864, allocations: 88.14 kB / 0.787 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.2864, allocations: 11.83 kB / 0.787 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.2865, allocations: 13.72 kB / 0.787 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2866, allocations: 314.8 kB / 0.7873 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/0.2867, allocations: 11.98 kB / 0.7873 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.423e-05/0.2868, allocations: 27.97 kB / 0.7873 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.2869, allocations: 40.7 kB / 0.7874 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.287, allocations: 0 / 0.7874 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001762/0.2871, allocations: 65.66 kB / 0.7874 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2872, allocations: 14.59 kB / 0.7874 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2872, allocations: 96 / 0.7874 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2872, allocations: 4 kB / 0.7874 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-05/0.2873, allocations: 7.984 kB / 0.7875 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2873, allocations: 0 / 0.7875 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.263e-05/0.2873, allocations: 4 kB / 0.7875 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.2873, allocations: 4 kB / 0.7875 GB, free: 9.602 MB / 0.6075 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 7.967e-05/0.2874, allocations: 113.8 kB / 0.7876 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.2875, allocations: 3.906 kB / 0.7876 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.2877, allocations: 80.7 kB / 0.7877 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2877, allocations: 0 / 0.7877 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2877, allocations: 0 / 0.7877 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2877, allocations: 0 / 0.7877 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.2879, allocations: 161.6 kB / 0.7878 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2879, allocations: 4 kB / 0.7878 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-05/0.288, allocations: 7.984 kB / 0.7878 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.288, allocations: 0 / 0.7878 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.288, allocations: 32 / 0.7878 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.288, allocations: 7.938 kB / 0.7878 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.288, allocations: 4 kB / 0.7878 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.2883, allocations: 163.4 kB / 0.788 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.2884, allocations: 77.11 kB / 0.7881 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.2884, allocations: 7.984 kB / 0.7881 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.2885, allocations: 8.281 kB / 0.7881 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.2885, allocations: 0 / 0.7881 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.2885, allocations: 8 kB / 0.7881 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.121e-05/0.2886, allocations: 83.27 kB / 0.7882 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2886, allocations: 0 / 0.7882 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002174/0.2888, allocations: 8 kB / 0.7882 GB, free: 8.777 MB / 0.6075 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.0001671/0.289, allocations: 99.25 kB / 0.7883 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.2892, allocations: 43.95 kB / 0.7883 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2892, allocations: 0 / 0.7883 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.929e-05/0.2893, allocations: 23.92 kB / 0.7883 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.2896, allocations: 7.938 kB / 0.7883 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.29, allocations: 139.2 kB / 0.7885 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.2904, allocations: 0.6807 MB / 0.7891 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.2905, allocations: 11.44 kB / 0.7891 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.2905, allocations: 0 / 0.7891 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of Templates: time 0.002073/0.2926, allocations: 0.6479 MB / 0.7898 GB, free: 7.059 MB / 0.6075 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)