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.0008228/0.0008227, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0009614/0.0009614, allocations: 177.2 kB / 16.27 MB, free: 6.672 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.299/1.299, allocations: 205.4 MB / 222.5 MB, free: 5.801 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.731/1.731, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005156/0.0005157, allocations: 23.17 kB / 0.6743 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2001, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.00179/0.202, allocations: 1.16 MB / 0.789 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008095/0.2028, allocations: 0.49 MB / 0.7895 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.2029, allocations: 0 / 0.7895 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.31e-05/0.2029, allocations: 4 kB / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.006e-05/0.203, allocations: 3.938 kB / 0.7895 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.2031, allocations: 23.97 kB / 0.7895 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.14e-05/0.2032, allocations: 19.92 kB / 0.7895 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.939e-05/0.2033, allocations: 8 kB / 0.7895 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.989e-05/0.2033, allocations: 11.92 kB / 0.7896 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.67e-05/0.2034, allocations: 11.94 kB / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.2034, allocations: 0 / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.234e-05/0.2034, allocations: 23.91 kB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.758e-06/0.2035, allocations: 7.984 kB / 0.7896 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.098e-05/0.2035, allocations: 37.64 kB / 0.7896 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.325e-05/0.2036, allocations: 31.89 kB / 0.7897 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2036, allocations: 0 / 0.7897 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2036, allocations: 0 / 0.7897 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.966e-06/0.2036, allocations: 0 / 0.7897 GB, free: 9.738 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.0003885/0.204, allocations: 339.7 kB / 0.79 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.204, allocations: 16.03 kB / 0.79 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.2041, allocations: 0.9375 kB / 0.79 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.2042, allocations: 172.3 kB / 0.7902 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.2042, allocations: 384 / 0.7902 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.2042, allocations: 384 / 0.7902 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.2044, allocations: 61.92 kB / 0.7902 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2044, allocations: 0 / 0.7902 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.2044, allocations: 0 / 0.7902 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-06/0.2044, allocations: 8 kB / 0.7902 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.2046, allocations: 43.95 kB / 0.7903 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.2049, allocations: 244.9 kB / 0.7905 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.2051, allocations: 50.53 kB / 0.7906 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.111e-05/0.2052, allocations: 28.91 kB / 0.7906 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.2053, allocations: 89.08 kB / 0.7907 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.2054, allocations: 38.5 kB / 0.7907 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2054, allocations: 0 / 0.7907 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000367/0.2057, allocations: 101.7 kB / 0.7908 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.2058, allocations: 51.41 kB / 0.7909 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.857e-05/0.2059, allocations: 98.05 kB / 0.791 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.2059, allocations: 25.7 kB / 0.791 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.2059, allocations: 84.14 kB / 0.7911 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.2059, allocations: 19.77 kB / 0.7911 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.206, allocations: 9.719 kB / 0.7911 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.2061, allocations: 310.8 kB / 0.7914 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.2062, allocations: 28.02 kB / 0.7914 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.788e-05/0.2063, allocations: 19.98 kB / 0.7914 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.2064, allocations: 56.81 kB / 0.7915 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2064, allocations: 3.938 kB / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000208/0.2066, allocations: 81.66 kB / 0.7916 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2067, allocations: 4 kB / 0.7916 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2067, allocations: 4.062 kB / 0.7916 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.2067, allocations: 4 kB / 0.7916 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.43e-05/0.2068, allocations: 11.94 kB / 0.7916 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2068, allocations: 0 / 0.7916 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.2068, allocations: 7.984 kB / 0.7916 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.2069, allocations: 4 kB / 0.7916 GB, free: 7.52 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.392e-05/0.2069, allocations: 113.8 kB / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.207, allocations: 3.906 kB / 0.7917 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.2072, allocations: 84.77 kB / 0.7918 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2072, allocations: 4.031 kB / 0.7918 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2072, allocations: 4 kB / 0.7918 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2072, allocations: 0 / 0.7918 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.2074, allocations: 157.6 kB / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2074, allocations: 3.984 kB / 0.792 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.2075, allocations: 11.98 kB / 0.792 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2075, allocations: 0 / 0.792 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.2075, allocations: 4 kB / 0.792 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2075, allocations: 3.938 kB / 0.792 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2075, allocations: 0 / 0.792 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.2078, allocations: 175.5 kB / 0.7921 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.2078, allocations: 77.11 kB / 0.7922 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.2078, allocations: 4 kB / 0.7922 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.185e-05/0.2079, allocations: 12.02 kB / 0.7922 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.208, allocations: 4 kB / 0.7922 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.208, allocations: 0 / 0.7922 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.208, allocations: 87.27 kB / 0.7923 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.208, allocations: 3.938 kB / 0.7923 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002138/0.2082, allocations: 4 kB / 0.7923 GB, free: 6.676 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.0001347/0.2084, allocations: 103.2 kB / 0.7924 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.2086, allocations: 55.89 kB / 0.7925 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.2086, allocations: 0 / 0.7925 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.214e-05/0.2087, allocations: 28.05 kB / 0.7925 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.209, allocations: 11.88 kB / 0.7925 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002261/0.2092, allocations: 116.6 kB / 0.7926 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.2094, allocations: 0.677 MB / 0.7933 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.137e-05/0.2095, allocations: 0 / 0.7933 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.2095, allocations: 11.5 kB / 0.7933 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2095, allocations: 4 kB / 0.7933 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of Templates: time 0.002344/0.2119, allocations: 493.4 kB / 0.7938 GB, free: 5.141 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: