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.001198/0.001198, allocations: 109.2 kB / 17.04 MB, free: 6.062 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.001192/0.001193, allocations: 196 kB / 17.98 MB, free: 5.148 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.264/1.264, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7222/0.7222, allocations: 115.1 MB / 406.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 67.88 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3428, allocations: 76.14 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00164/0.3444, allocations: 0.5728 MB / 0.5582 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3456, allocations: 1.113 MB / 0.5592 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.3456, allocations: 0 / 0.5592 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.3457, allocations: 0 / 0.5592 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.3459, allocations: 13.86 kB / 0.5593 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.457e-06/0.3459, allocations: 0 / 0.5593 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.534e-05/0.346, allocations: 5.453 kB / 0.5593 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.346, allocations: 7.781 kB / 0.5593 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.542e-05/0.3461, allocations: 0 / 0.5593 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.28e-05/0.3461, allocations: 10.41 kB / 0.5593 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.326e-06/0.3461, allocations: 1.312 kB / 0.5593 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3462, allocations: 17.92 kB / 0.5593 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.75e-06/0.3462, allocations: 0 / 0.5593 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.3462, allocations: 6.203 kB / 0.5593 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.427e-05/0.3463, allocations: 17.38 kB / 0.5593 GB, free: 35.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3463, allocations: 3.938 kB / 0.5593 GB, free: 35.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3463, allocations: 1.5 kB / 0.5593 GB, free: 35.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3464, allocations: 1.688 kB / 0.5593 GB, free: 35.49 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.000231/0.3466, allocations: 315.7 kB / 0.5596 GB, free: 35.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3466, allocations: 9.312 kB / 0.5596 GB, free: 35.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.3467, allocations: 0.9375 kB / 0.5596 GB, free: 35.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.177e-05/0.3467, allocations: 164.1 kB / 0.5598 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3468, allocations: 1.781 kB / 0.5598 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.3468, allocations: 6.625 kB / 0.5598 GB, free: 34.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.3469, allocations: 38.09 kB / 0.5598 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3469, allocations: 1.219 kB / 0.5598 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.3469, allocations: 1.062 kB / 0.5598 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.3469, allocations: 0 / 0.5598 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.818e-05/0.347, allocations: 10.73 kB / 0.5598 GB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.3471, allocations: 151.5 kB / 0.56 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.3473, allocations: 34.3 kB / 0.56 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.3473, allocations: 11.39 kB / 0.56 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.3474, allocations: 81.84 kB / 0.5601 GB, free: 34.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.3475, allocations: 41.69 kB / 0.5602 GB, free: 34.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3475, allocations: 0 / 0.5602 GB, free: 34.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.004091/0.3516, allocations: 0.5784 MB / 0.5607 GB, free: 34.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.3516, allocations: 51.91 kB / 0.5608 GB, free: 34.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.073e-05/0.3516, allocations: 93.33 kB / 0.5609 GB, free: 34.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.3517, allocations: 25.7 kB / 0.5609 GB, free: 34.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.411e-05/0.3517, allocations: 85.7 kB / 0.561 GB, free: 34.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.3517, allocations: 15.48 kB / 0.561 GB, free: 34.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.3518, allocations: 19.53 kB / 0.561 GB, free: 34.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.3518, allocations: 317.9 kB / 0.5613 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005748/0.3524, allocations: 82.03 kB / 0.5614 GB, free: 33.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005802/0.353, allocations: 104.8 kB / 0.5615 GB, free: 33.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.3542, allocations: 184.6 kB / 0.5617 GB, free: 33.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3542, allocations: 4.656 kB / 0.5617 GB, free: 33.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001242/0.3554, allocations: 218.5 kB / 0.5619 GB, free: 33.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.3555, allocations: 5.812 kB / 0.5619 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3555, allocations: 1.891 kB / 0.5619 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.3555, allocations: 5.312 kB / 0.5619 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.3559, allocations: 54.11 kB / 0.5619 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.356, allocations: 0 / 0.5619 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.3563, allocations: 40.92 kB / 0.562 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.3563, allocations: 3.219 kB / 0.562 GB, free: 33.75 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 9.118e-05/0.3564, allocations: 112.1 kB / 0.5621 GB, free: 33.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.3565, allocations: 6.219 kB / 0.5621 GB, free: 33.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.3578, allocations: 243 kB / 0.5623 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3578, allocations: 0.5625 kB / 0.5623 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3578, allocations: 0 / 0.5623 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3579, allocations: 2.188 kB / 0.5623 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.3593, allocations: 458.6 kB / 0.5628 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3593, allocations: 0 / 0.5628 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/0.3597, allocations: 52.66 kB / 0.5628 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3597, allocations: 1.281 kB / 0.5628 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.3597, allocations: 5.125 kB / 0.5628 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3597, allocations: 1.156 kB / 0.5628 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3597, allocations: 3.984 kB / 0.5628 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.3609, allocations: 305.6 kB / 0.5631 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.361, allocations: 79.02 kB / 0.5632 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.361, allocations: 1.312 kB / 0.5632 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.3614, allocations: 40.17 kB / 0.5632 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.3614, allocations: 2.344 kB / 0.5632 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.3614, allocations: 6.891 kB / 0.5632 GB, free: 32.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.557e-05/0.3614, allocations: 75.89 kB / 0.5633 GB, free: 32.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3614, allocations: 0 / 0.5633 GB, free: 32.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.3617, allocations: 13.72 kB / 0.5633 GB, free: 32.88 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.0001561/0.3619, allocations: 113.5 kB / 0.5634 GB, free: 32.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.3631, allocations: 180.9 kB / 0.5636 GB, free: 32.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3631, allocations: 4.062 kB / 0.5636 GB, free: 32.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000573/0.3637, allocations: 91.89 kB / 0.5637 GB, free: 32.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.3639, allocations: 4.062 kB / 0.5637 GB, free: 32.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.365, allocations: 218.5 kB / 0.5639 GB, free: 32.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.3651, allocations: 0.6744 MB / 0.5646 GB, free: 31.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.3653, allocations: 29.53 kB / 0.5646 GB, free: 31.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.3654, allocations: 16.17 kB / 0.5646 GB, free: 31.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3654, allocations: 0 / 0.5646 GB, free: 31.9 MB / 446.1 MB Notification: Performance of Templates: time 0.002935/0.3683, allocations: 0.8099 MB / 0.5654 GB, free: 31.82 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)