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.001047/0.001047, allocations: 109.4 kB / 15.69 MB, free: 128 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.001037/0.001037, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.277/1.277, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.695/1.695, allocations: 292.3 MB / 0.5489 GB, free: 12.73 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.001391/0.001391, allocations: 75.09 kB / 0.6722 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2139, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.00291/0.2169, allocations: 1.438 MB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008642/0.2178, allocations: 0.4928 MB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.2178, allocations: 0 / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.2179, allocations: 3.938 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.191e-05/0.218, allocations: 7.922 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.2182, allocations: 23.92 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.2183, allocations: 23.98 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.2184, allocations: 4 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.502e-05/0.2185, allocations: 15.86 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.511e-05/0.2185, allocations: 15.92 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.2185, allocations: 4 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.824e-05/0.2186, allocations: 19.97 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.2187, allocations: 4 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.2187, allocations: 7.938 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.2188, allocations: 39.88 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2188, allocations: 4 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2188, allocations: 4 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.2189, allocations: 0 / 0.7862 GB, free: 10.61 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.0004713/0.2193, allocations: 343.3 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.2194, allocations: 12.03 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.2194, allocations: 0.9375 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.2195, allocations: 164.3 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.2196, allocations: 12.31 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.2196, allocations: 384 / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.2197, allocations: 57.98 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.2198, allocations: 3.984 kB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.2198, allocations: 0 / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2198, allocations: 0 / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.2199, allocations: 39.95 kB / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.2203, allocations: 252.8 kB / 0.787 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.2204, allocations: 38.56 kB / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.253e-05/0.2205, allocations: 24.91 kB / 0.7871 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.2206, allocations: 81.09 kB / 0.7872 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.2206, allocations: 34.56 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2206, allocations: 0 / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003245/0.221, allocations: 89.58 kB / 0.7873 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.221, allocations: 51.41 kB / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.678e-05/0.2211, allocations: 97.86 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.2211, allocations: 25.7 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.2212, allocations: 89.19 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.2212, allocations: 7.844 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.2212, allocations: 21.84 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.061e-05/0.2213, allocations: 310.8 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.732e-05/0.2214, allocations: 19.92 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/0.2215, allocations: 19.97 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.2216, allocations: 36.77 kB / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2216, allocations: 4.062 kB / 0.7879 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001815/0.2218, allocations: 69.59 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2218, allocations: 8 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2218, allocations: 0 / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2219, allocations: 0 / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.424e-05/0.2219, allocations: 11.98 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.222, allocations: 3.984 kB / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/0.222, allocations: 8.031 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.222, allocations: 4 kB / 0.788 GB, free: 8.469 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 6.169e-05/0.2221, allocations: 113.8 kB / 0.7881 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.2221, allocations: 3.906 kB / 0.7881 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.2223, allocations: 76.72 kB / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2223, allocations: 0 / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2224, allocations: 0 / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2224, allocations: 4.031 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.2225, allocations: 165.6 kB / 0.7884 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2225, allocations: 0 / 0.7884 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.2226, allocations: 4 kB / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.2226, allocations: 3.938 kB / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.2226, allocations: 256 / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.2226, allocations: 8 kB / 0.7884 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2226, allocations: 3.984 kB / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.2228, allocations: 163.5 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.2229, allocations: 81.09 kB / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.2229, allocations: 0 / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.223, allocations: 4 kB / 0.7886 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.223, allocations: 7.922 kB / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.223, allocations: 4 kB / 0.7886 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.427e-05/0.2231, allocations: 83.28 kB / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2231, allocations: 4.031 kB / 0.7887 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002177/0.2233, allocations: 4 kB / 0.7887 GB, free: 7.648 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.000145/0.2234, allocations: 103.2 kB / 0.7888 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.2237, allocations: 35.91 kB / 0.7889 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2237, allocations: 0 / 0.7889 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.453e-05/0.2238, allocations: 24.05 kB / 0.7889 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.224, allocations: 11.92 kB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.2243, allocations: 117.3 kB / 0.789 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.2245, allocations: 0.6729 MB / 0.7897 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.461e-05/0.2246, allocations: 0 / 0.7897 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.2246, allocations: 15.44 kB / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2246, allocations: 0 / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of Templates: time 0.002421/0.227, allocations: 0.5546 MB / 0.7902 GB, free: 6.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)