Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001333/0.001333, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001425/0.001425, allocations: 199.2 kB / 16.14 MB, free: 6.688 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 472.6 MB / 0.7447 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.69 kB / 0.9114 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3568, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001918/0.3588, allocations: 0.6425 MB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.3602, allocations: 1.114 MB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.419e-05/0.3603, allocations: 0 / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.3603, allocations: 0 / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.3605, allocations: 15.92 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 2.675e-06/0.3605, allocations: 4 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.497e-05/0.3606, allocations: 0 / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.3606, allocations: 3.984 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.113e-05/0.3607, allocations: 12 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.602e-05/0.3607, allocations: 3.938 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.3607, allocations: 0 / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.3608, allocations: 23.91 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.604e-06/0.3608, allocations: 0 / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.371e-05/0.3608, allocations: 0 / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.527e-05/0.3609, allocations: 19.91 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3609, allocations: 4 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.361, allocations: 0 / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.361, allocations: 0 / 1.069 GB, free: 8.93 MB / 0.8262 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.0003079/0.3613, allocations: 315.6 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3613, allocations: 12.02 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.3614, allocations: 4.938 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.3615, allocations: 164.3 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3615, allocations: 384 / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.3615, allocations: 4.375 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.3616, allocations: 38 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3617, allocations: 3.938 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3617, allocations: 4 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.3617, allocations: 0 / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.114e-05/0.3617, allocations: 8 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.3619, allocations: 149.7 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.3621, allocations: 34.66 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.3622, allocations: 12.84 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.3623, allocations: 81.11 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3623, allocations: 42.5 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3623, allocations: 0 / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.004432/0.3668, allocations: 0.5718 MB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.3668, allocations: 59.41 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.131e-05/0.3669, allocations: 89.86 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3669, allocations: 25.7 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.784e-05/0.3669, allocations: 84.12 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.367, allocations: 7.812 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.367, allocations: 17.72 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3672, allocations: 322.8 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006399/0.3678, allocations: 79.95 kB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006089/0.3684, allocations: 110.5 kB / 1.071 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.3696, allocations: 186.5 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3696, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001241/0.3709, allocations: 217.5 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3709, allocations: 7.938 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3709, allocations: 4 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3709, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.3713, allocations: 51.94 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.3713, allocations: 4 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.3717, allocations: 35.98 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.3717, allocations: 7.984 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB 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 8.856e-05/0.3718, allocations: 113.8 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.3718, allocations: 11.84 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.3732, allocations: 233.3 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3732, allocations: 0 / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3732, allocations: 0 / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3732, allocations: 4 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.3748, allocations: 462.4 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3748, allocations: 0 / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.3752, allocations: 47.97 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3752, allocations: 0 / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.3752, allocations: 0 / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3752, allocations: 0 / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3752, allocations: 7.938 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.3765, allocations: 311.3 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.3765, allocations: 77.11 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.3766, allocations: 7.984 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.3769, allocations: 35.98 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.377, allocations: 4 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.377, allocations: 3.984 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.807e-05/0.377, allocations: 79.31 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.377, allocations: 0 / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002428/0.3773, allocations: 16 kB / 1.073 GB, free: 4.469 MB / 0.8262 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 (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.0001793/0.3774, allocations: 99.25 kB / 1.073 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.3787, allocations: 183.8 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3787, allocations: 0 / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.3793, allocations: 88.06 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.3795, allocations: 15 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.3807, allocations: 222.5 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.3809, allocations: 0.677 MB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002289/0.3812, allocations: 31.98 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/0.3812, allocations: 7.438 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.3812, allocations: 0 / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of Templates: time 0.002842/0.3841, allocations: 0.8078 MB / 1.075 GB, free: 2.289 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)