Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.202/2.202, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001347/0.001346, allocations: 182.9 kB / 325.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.371/2.371, allocations: 205.4 MB / 0.5767 GB, free: 21.1 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009932/0.0009929, allocations: 82.31 kB / 0.6812 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004831, allocations: 12.5 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2275, allocations: 106.3 MB / 0.899 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002332/0.2299, allocations: 1.171 MB / 0.9002 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.2311, allocations: 481.9 kB / 0.9006 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.2312, allocations: 0 / 0.9006 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.2312, allocations: 3.938 kB / 0.9006 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.617e-05/0.2313, allocations: 0 / 0.9006 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.2316, allocations: 23.97 kB / 0.9007 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.944e-05/0.2317, allocations: 23.92 kB / 0.9007 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.2318, allocations: 7.938 kB / 0.9007 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.148e-05/0.2319, allocations: 7.984 kB / 0.9007 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.877e-05/0.2319, allocations: 7.938 kB / 0.9007 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.232, allocations: 4 kB / 0.9007 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.933e-05/0.2321, allocations: 19.97 kB / 0.9007 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.2321, allocations: 3.984 kB / 0.9007 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.2322, allocations: 33.64 kB / 0.9008 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.732e-05/0.2323, allocations: 19.97 kB / 0.9008 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2323, allocations: 4 kB / 0.9008 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2323, allocations: 0 / 0.9008 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2323, allocations: 0 / 0.9008 GB, free: 64.07 MB / 0.6042 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.0005465/0.2329, allocations: 343.5 kB / 0.9011 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.2329, allocations: 8.031 kB / 0.9011 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.233, allocations: 0.9375 kB / 0.9011 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.2331, allocations: 172.2 kB / 0.9013 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.2332, allocations: 4.375 kB / 0.9013 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.2332, allocations: 384 / 0.9013 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.2335, allocations: 57.98 kB / 0.9013 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2336, allocations: 0 / 0.9013 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2336, allocations: 0 / 0.9013 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2336, allocations: 4 kB / 0.9013 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.234, allocations: 55.83 kB / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003863/0.2344, allocations: 252.9 kB / 0.9016 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.2347, allocations: 42.56 kB / 0.9017 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.2349, allocations: 28.84 kB / 0.9017 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/0.2351, allocations: 85.09 kB / 0.9018 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.2352, allocations: 38.56 kB / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.984e-06/0.2352, allocations: 0 / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0007032/0.2359, allocations: 101.6 kB / 0.9019 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.236, allocations: 51.41 kB / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.459e-05/0.2361, allocations: 102 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.2361, allocations: 25.7 kB / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.2361, allocations: 92.12 kB / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.2362, allocations: 3.906 kB / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-06/0.2362, allocations: 0 / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.2363, allocations: 314.8 kB / 0.9025 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.2365, allocations: 23.98 kB / 0.9025 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.2367, allocations: 23.97 kB / 0.9025 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.2369, allocations: 23.92 kB / 0.9026 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2369, allocations: 0 / 0.9026 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00046/0.2374, allocations: 77.67 kB / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2374, allocations: 8 kB / 0.9026 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2374, allocations: 3.984 kB / 0.9026 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2375, allocations: 0 / 0.9026 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.2376, allocations: 8 kB / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2376, allocations: 8.016 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.2378, allocations: 15.98 kB / 0.9027 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.2378, allocations: 3.984 kB / 0.9027 GB, free: 61.9 MB / 0.6042 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 7.516e-05/0.2379, allocations: 109.8 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.2379, allocations: 7.906 kB / 0.9028 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.2384, allocations: 88.72 kB / 0.9029 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2384, allocations: 3.984 kB / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2384, allocations: 0 / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2385, allocations: 0 / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.2387, allocations: 161.6 kB / 0.903 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2387, allocations: 0 / 0.903 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.2388, allocations: 16.02 kB / 0.903 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.2389, allocations: 0 / 0.903 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2389, allocations: 4 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.2389, allocations: 3.938 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2389, allocations: 0 / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.2394, allocations: 175.5 kB / 0.9032 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.2394, allocations: 77.11 kB / 0.9033 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.2394, allocations: 7.938 kB / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.2396, allocations: 11.92 kB / 0.9033 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.2397, allocations: 4 kB / 0.9033 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-06/0.2397, allocations: 0 / 0.9033 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.2398, allocations: 95.55 kB / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2398, allocations: 0 / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005094/0.2403, allocations: 4 kB / 0.9034 GB, free: 61.05 MB / 0.6042 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.0001728/0.2405, allocations: 99.25 kB / 0.9035 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004122/0.2409, allocations: 47.95 kB / 0.9036 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2409, allocations: 4 kB / 0.9036 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.2411, allocations: 23.98 kB / 0.9036 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/0.2417, allocations: 7.875 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.242, allocations: 120.6 kB / 0.9037 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.2422, allocations: 0.6809 MB / 0.9044 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.156e-05/0.2423, allocations: 0 / 0.9044 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.2423, allocations: 7.438 kB / 0.9044 GB, free: 60 MB / 0.6042 GB Notification: Performance of SimCode: time 8.82e-07/0.2423, allocations: 0 / 0.9044 GB, free: 60 MB / 0.6042 GB Notification: Performance of Templates: time 0.004537/0.2469, allocations: 481.6 kB / 0.9048 GB, free: 59.54 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)