Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 105.8 kB / 15.98 MB, free: 6.355 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.001102/0.001102, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.355/1.355, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8241/0.8241, allocations: 126.1 MB / 416.8 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 71.89 kB / 0.4945 GB, free: 3.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3848, allocations: 78.7 MB / 0.5713 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001747/0.3866, allocations: 0.6491 MB / 0.572 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.388, allocations: 1.092 MB / 0.573 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.3881, allocations: 0 / 0.573 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.3881, allocations: 0.5938 kB / 0.573 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.3883, allocations: 22.34 kB / 0.5731 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.517e-06/0.3883, allocations: 0 / 0.5731 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.597e-05/0.3884, allocations: 2.844 kB / 0.5731 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.3884, allocations: 7.312 kB / 0.5731 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.629e-05/0.3885, allocations: 5.516 kB / 0.5731 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.458e-05/0.3885, allocations: 5.969 kB / 0.5731 GB, free: 30.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.3885, allocations: 5.031 kB / 0.5731 GB, free: 30.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3886, allocations: 17.62 kB / 0.5731 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-06/0.3886, allocations: 0 / 0.5731 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.328e-05/0.3887, allocations: 4.969 kB / 0.5731 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.107e-05/0.3887, allocations: 17.89 kB / 0.5731 GB, free: 30.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.3887, allocations: 0 / 0.5731 GB, free: 30.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3887, allocations: 1.25 kB / 0.5731 GB, free: 30.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3888, allocations: 1.406 kB / 0.5731 GB, free: 30.08 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.00019/0.389, allocations: 323.1 kB / 0.5734 GB, free: 29.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.389, allocations: 12.17 kB / 0.5734 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.389, allocations: 0.9375 kB / 0.5734 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.789e-05/0.3891, allocations: 161.7 kB / 0.5736 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3891, allocations: 2.562 kB / 0.5736 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.3891, allocations: 1.844 kB / 0.5736 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.461e-05/0.3892, allocations: 41.72 kB / 0.5736 GB, free: 29.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3892, allocations: 4.609 kB / 0.5736 GB, free: 29.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.3893, allocations: 1.781 kB / 0.5736 GB, free: 29.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3893, allocations: 1.562 kB / 0.5736 GB, free: 29.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.545e-05/0.3893, allocations: 5.031 kB / 0.5737 GB, free: 29.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.912e-05/0.3894, allocations: 151.3 kB / 0.5738 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.3896, allocations: 35.02 kB / 0.5738 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.3896, allocations: 12.94 kB / 0.5738 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.3898, allocations: 83.67 kB / 0.5739 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.3898, allocations: 35.44 kB / 0.574 GB, free: 29.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3898, allocations: 1.094 kB / 0.574 GB, free: 29.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0042/0.394, allocations: 0.572 MB / 0.5745 GB, free: 29.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.394, allocations: 53.17 kB / 0.5746 GB, free: 29.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.769e-05/0.3941, allocations: 89.86 kB / 0.5747 GB, free: 28.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.3941, allocations: 29.64 kB / 0.5747 GB, free: 28.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.152e-05/0.3941, allocations: 81.86 kB / 0.5748 GB, free: 28.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.3941, allocations: 20.44 kB / 0.5748 GB, free: 28.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.3942, allocations: 20.53 kB / 0.5748 GB, free: 28.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.644e-05/0.3943, allocations: 312.4 kB / 0.5751 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000584/0.3949, allocations: 82.11 kB / 0.5752 GB, free: 28.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005421/0.3954, allocations: 108.9 kB / 0.5753 GB, free: 28.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.3965, allocations: 187.7 kB / 0.5755 GB, free: 28.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3965, allocations: 4.844 kB / 0.5755 GB, free: 28.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001329/0.3979, allocations: 221.6 kB / 0.5757 GB, free: 28.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.3979, allocations: 5.656 kB / 0.5757 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.3979, allocations: 4.688 kB / 0.5757 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3979, allocations: 2.375 kB / 0.5757 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.3983, allocations: 56.44 kB / 0.5757 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.3984, allocations: 2.109 kB / 0.5757 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.3987, allocations: 40.75 kB / 0.5758 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.3987, allocations: 6.734 kB / 0.5758 GB, free: 28.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 7.573e-05/0.3988, allocations: 108.7 kB / 0.5759 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.3988, allocations: 6.719 kB / 0.5759 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.4001, allocations: 238.2 kB / 0.5761 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4002, allocations: 1.531 kB / 0.5761 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4002, allocations: 0 / 0.5761 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4002, allocations: 0.5625 kB / 0.5761 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.4016, allocations: 455.3 kB / 0.5766 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4016, allocations: 0 / 0.5766 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.4019, allocations: 52.91 kB / 0.5766 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.402, allocations: 1.375 kB / 0.5766 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.402, allocations: 4.641 kB / 0.5766 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.402, allocations: 1.984 kB / 0.5766 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.402, allocations: 4 kB / 0.5766 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.4033, allocations: 301.3 kB / 0.5769 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.4033, allocations: 77.62 kB / 0.577 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.4033, allocations: 2.078 kB / 0.577 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.4037, allocations: 40.16 kB / 0.577 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.4037, allocations: 6.688 kB / 0.577 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.4037, allocations: 7.406 kB / 0.577 GB, free: 27.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.564e-05/0.4038, allocations: 75.28 kB / 0.5771 GB, free: 27.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4038, allocations: 4 kB / 0.5771 GB, free: 27.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.404, allocations: 10.14 kB / 0.5771 GB, free: 27.44 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 (5): * Single equations (assignments): 5 * 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.0001678/0.4042, allocations: 103.8 kB / 0.5772 GB, free: 27.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.4055, allocations: 191.6 kB / 0.5774 GB, free: 27.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4055, allocations: 0 / 0.5774 GB, free: 27.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005726/0.406, allocations: 97.52 kB / 0.5775 GB, free: 27.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.4063, allocations: 5.281 kB / 0.5775 GB, free: 27.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.4073, allocations: 222 kB / 0.5777 GB, free: 27.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.808e-05/0.4075, allocations: 0.6775 MB / 0.5784 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002244/0.4077, allocations: 28.36 kB / 0.5784 GB, free: 26.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.4078, allocations: 11.69 kB / 0.5784 GB, free: 26.45 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4078, allocations: 0 / 0.5784 GB, free: 26.45 MB / 446.1 MB Notification: Performance of Templates: time 0.003428/0.4112, allocations: 0.7999 MB / 0.5792 GB, free: 26.27 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)