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.001094/0.001094, allocations: 117.5 kB / 16.38 MB, free: 5.992 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.001117/0.001117, allocations: 188.7 kB / 17.31 MB, free: 5.605 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.453/1.453, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.815/1.815, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001375/0.001375, allocations: 71.89 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.21, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002557/0.2126, allocations: 1.441 MB / 0.7862 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007642/0.2134, allocations: 0.4927 MB / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.2134, allocations: 0 / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.31e-05/0.2134, allocations: 3.938 kB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.578e-05/0.2135, allocations: 7.922 kB / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.2137, allocations: 27.92 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.152e-05/0.2138, allocations: 19.92 kB / 0.7867 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.2139, allocations: 19.97 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.501e-05/0.2139, allocations: 8 kB / 0.7868 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.649e-05/0.214, allocations: 11.92 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.214, allocations: 4 kB / 0.7868 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.816e-05/0.2141, allocations: 19.98 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.2141, allocations: 3.984 kB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.2141, allocations: 15.92 kB / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.224e-05/0.2142, allocations: 31.84 kB / 0.7868 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2142, allocations: 0 / 0.7868 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2142, allocations: 0 / 0.7868 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2142, allocations: 4 kB / 0.7868 GB, free: 1.027 MB / 0.6544 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.0004048/0.2147, allocations: 347.4 kB / 0.7872 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.2147, allocations: 8.031 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.2147, allocations: 4.938 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2148, allocations: 168.4 kB / 0.7874 GB, free: 436 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.2149, allocations: 384 / 0.7874 GB, free: 436 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.2149, allocations: 4.375 kB / 0.7874 GB, free: 432 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.215, allocations: 57.92 kB / 0.7874 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.2151, allocations: 4 kB / 0.7874 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.2151, allocations: 0 / 0.7874 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2151, allocations: 0 / 0.7874 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.2153, allocations: 31.91 kB / 0.7874 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.2156, allocations: 256.8 kB / 0.7877 GB, free: 24 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3802/0.5958, allocations: 41.22 kB / 0.7877 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.596, allocations: 23.92 kB / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.5962, allocations: 83.38 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.5962, allocations: 30.56 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 3.116e-06/0.5962, allocations: 1.688 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0004248/0.5967, allocations: 83.55 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.5967, allocations: 54.5 kB / 0.788 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.603e-05/0.5968, allocations: 103.2 kB / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.5968, allocations: 26.2 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.5969, allocations: 85.58 kB / 0.7882 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.5969, allocations: 12.89 kB / 0.7882 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.5969, allocations: 15.41 kB / 0.7882 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.597, allocations: 311.4 kB / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.318e-05/0.5971, allocations: 19.92 kB / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.147e-05/0.5972, allocations: 18.08 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.5973, allocations: 41.66 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5974, allocations: 0 / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001898/0.5976, allocations: 73.19 kB / 0.7887 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.5976, allocations: 5.469 kB / 0.7887 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.5976, allocations: 2.688 kB / 0.7887 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.5976, allocations: 1.625 kB / 0.7887 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.5977, allocations: 8.781 kB / 0.7887 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.5977, allocations: 0 / 0.7887 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.5978, allocations: 11.77 kB / 0.7887 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.5978, allocations: 0 / 0.7887 GB, free: 48.07 MB / 0.6544 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 5.555e-05/0.5979, allocations: 113.7 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.5979, allocations: 2.688 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.5981, allocations: 71.22 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.5982, allocations: 0.5938 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5982, allocations: 3.281 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5982, allocations: 0 / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.5983, allocations: 165.8 kB / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.5983, allocations: 0 / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.087e-05/0.5984, allocations: 8.906 kB / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.5984, allocations: 0.5 kB / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.5984, allocations: 2.625 kB / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5984, allocations: 0.5625 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5984, allocations: 3.25 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.5987, allocations: 168 kB / 0.7892 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.5987, allocations: 80.23 kB / 0.7893 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.5987, allocations: 9.125 kB / 0.7893 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.5988, allocations: 9.391 kB / 0.7893 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.5988, allocations: 1.219 kB / 0.7893 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.5988, allocations: 2.75 kB / 0.7893 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.06e-05/0.5989, allocations: 87.47 kB / 0.7894 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5989, allocations: 0.625 kB / 0.7894 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000232/0.5991, allocations: 7.438 kB / 0.7894 GB, free: 47.43 MB / 0.6544 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.0001394/0.5993, allocations: 99.67 kB / 0.7895 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.5995, allocations: 38.86 kB / 0.7895 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5995, allocations: 2.5 kB / 0.7895 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.827e-05/0.5996, allocations: 19.52 kB / 0.7896 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.5999, allocations: 9.125 kB / 0.7896 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.6002, allocations: 136.6 kB / 0.7897 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.6003, allocations: 0.6781 MB / 0.7904 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.158e-05/0.6003, allocations: 7.438 kB / 0.7904 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.6003, allocations: 0 / 0.7904 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.002028/0.6024, allocations: 0.6476 MB / 0.791 GB, free: 46.52 MB / 0.6544 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)