Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001178/0.001178, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 196.5 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 472.6 MB / 0.7451 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 62.97 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2968, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.00278/0.2997, allocations: 1.438 MB / 1.07 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008101/0.3005, allocations: 474.8 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.597e-05/0.3006, allocations: 0 / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.577e-05/0.3006, allocations: 4 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.24e-05/0.3007, allocations: 3.938 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.3009, allocations: 19.92 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.153e-05/0.301, allocations: 27.92 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3011, allocations: 11.98 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.592e-05/0.3012, allocations: 15.92 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.912e-05/0.3012, allocations: 8 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.3012, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.3013, allocations: 35.84 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.3013, allocations: 0 / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.3014, allocations: 7.938 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.3015, allocations: 35.94 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3015, allocations: 0 / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3015, allocations: 0 / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.3015, allocations: 0 / 1.07 GB, free: 8.387 MB / 0.8262 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.0004323/0.302, allocations: 351.6 kB / 1.071 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.302, allocations: 8.031 kB / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.302, allocations: 0.9375 kB / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3022, allocations: 172.2 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3022, allocations: 4.375 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.3022, allocations: 4.359 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.3024, allocations: 53.98 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3024, allocations: 0 / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.3024, allocations: 0 / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3024, allocations: 4 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.3026, allocations: 39.89 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.3029, allocations: 248.9 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.3031, allocations: 38.55 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.725e-05/0.3032, allocations: 24.91 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.3033, allocations: 85.09 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.3034, allocations: 34.5 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3034, allocations: 0 / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003691/0.3037, allocations: 77.66 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.3038, allocations: 59.52 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.005e-05/0.3039, allocations: 101.9 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.3039, allocations: 25.7 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.3039, allocations: 84.14 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.3039, allocations: 7.891 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.304, allocations: 13.72 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.3041, allocations: 314.8 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.778e-05/0.3042, allocations: 19.98 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.081e-05/0.3043, allocations: 15.98 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.3044, allocations: 48.69 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3044, allocations: 0 / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001986/0.3046, allocations: 65.66 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3047, allocations: 8.094 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3047, allocations: 0 / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3047, allocations: 0 / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.3048, allocations: 8 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3048, allocations: 7.922 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.3049, allocations: 7.938 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.3049, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 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 6.998e-05/0.305, allocations: 113.8 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.305, allocations: 11.91 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.3052, allocations: 76.7 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3052, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3052, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.3053, allocations: 4 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.3054, allocations: 157.6 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3054, allocations: 0 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.896e-05/0.3055, allocations: 11.92 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3055, allocations: 8.031 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-06/0.3055, allocations: 256 / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3055, allocations: 4 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3055, allocations: 0 / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.3058, allocations: 167.4 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/0.3058, allocations: 77.11 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.3058, allocations: 8.016 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.3059, allocations: 4 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.3059, allocations: 4 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.306, allocations: 0 / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.306, allocations: 87.27 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.306, allocations: 0 / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002508/0.3063, allocations: 8 kB / 1.073 GB, free: 5.422 MB / 0.8262 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.0001443/0.3064, allocations: 103.8 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.3067, allocations: 39.95 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3067, allocations: 0 / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.934e-05/0.3068, allocations: 23.92 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.3071, allocations: 9.5 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.3074, allocations: 109.5 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.3076, allocations: 0.6768 MB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.731e-05/0.3076, allocations: 3.984 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.3077, allocations: 11.44 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3077, allocations: 3.938 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of Templates: time 0.00289/0.3106, allocations: 0.5601 MB / 1.074 GB, free: 3.828 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)