Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00106/0.00106, allocations: 107.5 kB / 17.02 MB, free: 5.699 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.001058/0.001058, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.265/1.265, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6798/0.6798, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.91 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3169, allocations: 76.14 MB / 0.5576 GB, free: 36.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002242/0.3192, allocations: 1.421 MB / 0.5589 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006383/0.3198, allocations: 466.5 kB / 0.5594 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.3199, allocations: 0 / 0.5594 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.3199, allocations: 1.547 kB / 0.5594 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.879e-05/0.32, allocations: 5.219 kB / 0.5594 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.3202, allocations: 24.61 kB / 0.5594 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.032e-05/0.3202, allocations: 29.28 kB / 0.5594 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.108e-05/0.3203, allocations: 5.797 kB / 0.5595 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.53e-05/0.3204, allocations: 16.88 kB / 0.5595 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.448e-05/0.3204, allocations: 12.95 kB / 0.5595 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.3205, allocations: 3.969 kB / 0.5595 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.344e-05/0.3205, allocations: 20.48 kB / 0.5595 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.3205, allocations: 5.531 kB / 0.5595 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.3206, allocations: 12.62 kB / 0.5595 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.27e-05/0.3207, allocations: 31.97 kB / 0.5596 GB, free: 35.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3207, allocations: 0 / 0.5596 GB, free: 35.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3207, allocations: 1.5 kB / 0.5596 GB, free: 35.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.3207, allocations: 0.6562 kB / 0.5596 GB, free: 35.18 MB / 446.1 MB 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.0003708/0.3211, allocations: 346 kB / 0.5599 GB, free: 34.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3211, allocations: 11.16 kB / 0.5599 GB, free: 34.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.3211, allocations: 2.125 kB / 0.5599 GB, free: 34.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.564e-05/0.3212, allocations: 165.4 kB / 0.5601 GB, free: 34.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3212, allocations: 1.906 kB / 0.5601 GB, free: 34.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.3213, allocations: 2.656 kB / 0.5601 GB, free: 34.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3214, allocations: 58.66 kB / 0.5601 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3214, allocations: 1.5 kB / 0.5601 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.3214, allocations: 0.75 kB / 0.5601 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3215, allocations: 4 kB / 0.5601 GB, free: 34.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.3216, allocations: 41.02 kB / 0.5602 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.3219, allocations: 251.2 kB / 0.5604 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.322, allocations: 37.48 kB / 0.5604 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.887e-05/0.3221, allocations: 24.28 kB / 0.5605 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.3222, allocations: 87.12 kB / 0.5605 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.3222, allocations: 36.75 kB / 0.5606 GB, free: 34.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3222, allocations: 0.9062 kB / 0.5606 GB, free: 34.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003325/0.3226, allocations: 87.5 kB / 0.5607 GB, free: 34.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.3226, allocations: 53 kB / 0.5607 GB, free: 34.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.399e-05/0.3227, allocations: 101.5 kB / 0.5608 GB, free: 33.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.3227, allocations: 25.7 kB / 0.5608 GB, free: 33.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.51e-05/0.3227, allocations: 82.92 kB / 0.5609 GB, free: 33.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.3227, allocations: 9.688 kB / 0.5609 GB, free: 33.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.3228, allocations: 17.88 kB / 0.5609 GB, free: 33.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.976e-05/0.3228, allocations: 318.3 kB / 0.5612 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.3229, allocations: 18.03 kB / 0.5613 GB, free: 33.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.323, allocations: 19.61 kB / 0.5613 GB, free: 33.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3231, allocations: 43.12 kB / 0.5613 GB, free: 33.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3231, allocations: 0.6562 kB / 0.5613 GB, free: 33.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001635/0.3233, allocations: 64.59 kB / 0.5614 GB, free: 33.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3233, allocations: 7.094 kB / 0.5614 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3233, allocations: 2.156 kB / 0.5614 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3233, allocations: 1.656 kB / 0.5614 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.635e-05/0.3234, allocations: 12.81 kB / 0.5614 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3234, allocations: 0 / 0.5614 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/0.3235, allocations: 6.359 kB / 0.5614 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.3235, allocations: 1.969 kB / 0.5614 GB, free: 33.39 MB / 446.1 MB 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 4.623e-05/0.3235, allocations: 117.5 kB / 0.5615 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.3236, allocations: 5.938 kB / 0.5615 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.3238, allocations: 74.33 kB / 0.5616 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3238, allocations: 1 kB / 0.5616 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3238, allocations: 1.25 kB / 0.5616 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3238, allocations: 1.719 kB / 0.5616 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.3239, allocations: 160.6 kB / 0.5618 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3239, allocations: 0 / 0.5618 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.496e-05/0.324, allocations: 12.8 kB / 0.5618 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.324, allocations: 1.25 kB / 0.5618 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.324, allocations: 256 / 0.5618 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.324, allocations: 6.078 kB / 0.5618 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.324, allocations: 0 / 0.5618 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.3242, allocations: 167.1 kB / 0.5619 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.3243, allocations: 80.17 kB / 0.562 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.3243, allocations: 2.203 kB / 0.562 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.3243, allocations: 6.797 kB / 0.562 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.3244, allocations: 2.625 kB / 0.562 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.3244, allocations: 2.281 kB / 0.562 GB, free: 32.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.603e-05/0.3244, allocations: 85.75 kB / 0.5621 GB, free: 32.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3244, allocations: 1.375 kB / 0.5621 GB, free: 32.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.3247, allocations: 5.531 kB / 0.5621 GB, free: 32.71 MB / 446.1 MB 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.0001197/0.3248, allocations: 108.4 kB / 0.5622 GB, free: 32.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.325, allocations: 39.12 kB / 0.5623 GB, free: 32.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.325, allocations: 0.5 kB / 0.5623 GB, free: 32.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.614e-05/0.3251, allocations: 22.69 kB / 0.5623 GB, free: 32.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.3254, allocations: 14.91 kB / 0.5623 GB, free: 32.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.3256, allocations: 112.6 kB / 0.5624 GB, free: 32.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.3257, allocations: 0.6771 MB / 0.5631 GB, free: 31.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.156e-05/0.3257, allocations: 1.906 kB / 0.5631 GB, free: 31.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.832e-05/0.3257, allocations: 13.7 kB / 0.5631 GB, free: 31.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3258, allocations: 0.5938 kB / 0.5631 GB, free: 31.77 MB / 446.1 MB Notification: Performance of Templates: time 0.002516/0.3283, allocations: 0.5592 MB / 0.5636 GB, free: 31.73 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)