Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8232/0.8232, allocations: 143.4 MB / 159.2 MB, free: 4.918 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 179.2 kB / 191.9 MB, free: 5.719 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 447.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009751/0.0009751, allocations: 111.7 kB / 0.517 GB, free: 3.699 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001845/0.001845, allocations: 272 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 87.88 kB / 0.6886 GB, free: 3.809 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3821, allocations: 81.29 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001706/0.3838, allocations: 0.6498 MB / 0.7686 GB, free: 27.01 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.385, allocations: 1.102 MB / 0.7697 GB, free: 25.89 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.265e-05/0.385, allocations: 0 / 0.7697 GB, free: 25.89 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.385, allocations: 0 / 0.7697 GB, free: 25.89 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.3852, allocations: 19.92 kB / 0.7697 GB, free: 25.87 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.966e-06/0.3852, allocations: 0 / 0.7697 GB, free: 25.87 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.122e-05/0.3853, allocations: 4 kB / 0.7697 GB, free: 25.87 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.3853, allocations: 7.984 kB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.389e-05/0.3854, allocations: 0 / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.37e-05/0.3854, allocations: 7.938 kB / 0.7697 GB, free: 25.85 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.604e-06/0.3854, allocations: 0 / 0.7697 GB, free: 25.85 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.3855, allocations: 27.92 kB / 0.7697 GB, free: 25.82 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.073e-06/0.3855, allocations: 3.984 kB / 0.7697 GB, free: 25.82 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.494e-05/0.3855, allocations: 0 / 0.7697 GB, free: 25.82 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 7.3e-05/0.3856, allocations: 11.98 kB / 0.7697 GB, free: 25.81 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3856, allocations: 0 / 0.7697 GB, free: 25.81 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3856, allocations: 4 kB / 0.7697 GB, free: 25.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.3856, allocations: 0 / 0.7697 GB, free: 25.8 MB / 458.7 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.0002461/0.3859, allocations: 319.6 kB / 0.77 GB, free: 25.45 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3859, allocations: 11.97 kB / 0.7701 GB, free: 25.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.386, allocations: 0.9375 kB / 0.7701 GB, free: 25.43 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.489e-05/0.386, allocations: 171 kB / 0.7702 GB, free: 25.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3861, allocations: 4.375 kB / 0.7702 GB, free: 25.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.3861, allocations: 384 / 0.7702 GB, free: 25.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.547e-05/0.3862, allocations: 42 kB / 0.7703 GB, free: 25.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3862, allocations: 3.938 kB / 0.7703 GB, free: 25.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.3862, allocations: 0 / 0.7703 GB, free: 25.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3862, allocations: 0 / 0.7703 GB, free: 25.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.331e-05/0.3863, allocations: 4 kB / 0.7703 GB, free: 25.17 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001144/0.3864, allocations: 153.7 kB / 0.7704 GB, free: 24.97 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.3866, allocations: 42.53 kB / 0.7705 GB, free: 24.92 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.3866, allocations: 12.86 kB / 0.7705 GB, free: 24.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.3867, allocations: 85.19 kB / 0.7706 GB, free: 24.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.3868, allocations: 34.5 kB / 0.7706 GB, free: 24.76 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3868, allocations: 0 / 0.7706 GB, free: 24.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.004023/0.3908, allocations: 0.5754 MB / 0.7711 GB, free: 24.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.3909, allocations: 55.41 kB / 0.7712 GB, free: 24.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.136e-05/0.3909, allocations: 89.86 kB / 0.7713 GB, free: 24.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.3909, allocations: 25.7 kB / 0.7713 GB, free: 23.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.144e-05/0.3909, allocations: 80.14 kB / 0.7714 GB, free: 23.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.391, allocations: 19.75 kB / 0.7714 GB, free: 23.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.391, allocations: 21.7 kB / 0.7714 GB, free: 23.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.334e-05/0.3911, allocations: 310.8 kB / 0.7717 GB, free: 23.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005703/0.3916, allocations: 83.95 kB / 0.7718 GB, free: 23.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/0.3922, allocations: 106.5 kB / 0.7719 GB, free: 23.35 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.3933, allocations: 186.5 kB / 0.7721 GB, free: 23.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3933, allocations: 4 kB / 0.7721 GB, free: 23.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001261/0.3946, allocations: 217.5 kB / 0.7723 GB, free: 22.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3946, allocations: 4 kB / 0.7723 GB, free: 22.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3946, allocations: 0 / 0.7723 GB, free: 22.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3946, allocations: 4 kB / 0.7723 GB, free: 22.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.395, allocations: 51.94 kB / 0.7724 GB, free: 22.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3951, allocations: 0 / 0.7724 GB, free: 22.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.3954, allocations: 43.97 kB / 0.7724 GB, free: 22.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.3954, allocations: 4 kB / 0.7724 GB, free: 22.83 MB / 458.7 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 6.7e-05/0.3955, allocations: 115.1 kB / 0.7725 GB, free: 22.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.3955, allocations: 3.938 kB / 0.7725 GB, free: 22.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.3968, allocations: 241 kB / 0.7727 GB, free: 22.46 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3968, allocations: 0 / 0.7727 GB, free: 22.46 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3969, allocations: 0 / 0.7727 GB, free: 22.46 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3969, allocations: 0 / 0.7727 GB, free: 22.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.3984, allocations: 454.4 kB / 0.7732 GB, free: 21.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3984, allocations: 0 / 0.7732 GB, free: 21.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/0.3988, allocations: 55.97 kB / 0.7732 GB, free: 21.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3988, allocations: 0 / 0.7732 GB, free: 21.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.3988, allocations: 7.984 kB / 0.7732 GB, free: 21.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3988, allocations: 320 / 0.7732 GB, free: 21.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3988, allocations: 7.875 kB / 0.7732 GB, free: 21.89 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.4008, allocations: 0.927 MB / 0.7741 GB, free: 20.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.4008, allocations: 77.11 kB / 0.7742 GB, free: 20.82 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.4008, allocations: 7.984 kB / 0.7742 GB, free: 20.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.4012, allocations: 43.92 kB / 0.7743 GB, free: 20.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.4012, allocations: 4 kB / 0.7743 GB, free: 20.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.4013, allocations: 3.984 kB / 0.7743 GB, free: 20.76 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.475e-05/0.4013, allocations: 75.28 kB / 0.7744 GB, free: 20.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4013, allocations: 0 / 0.7744 GB, free: 20.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004308/0.4017, allocations: 16 kB / 0.7744 GB, free: 20.67 MB / 458.7 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.0002616/0.402, allocations: 99.78 kB / 0.7745 GB, free: 20.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.4033, allocations: 179.9 kB / 0.7746 GB, free: 20.38 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4033, allocations: 0 / 0.7746 GB, free: 20.38 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005763/0.4039, allocations: 92.06 kB / 0.7747 GB, free: 20.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.4041, allocations: 4 kB / 0.7747 GB, free: 20.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.4053, allocations: 337.5 kB / 0.775 GB, free: 19.92 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.4054, allocations: 0.6731 MB / 0.7757 GB, free: 19.22 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.4057, allocations: 27.98 kB / 0.7757 GB, free: 19.19 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.4057, allocations: 15.44 kB / 0.7757 GB, free: 19.18 MB / 458.7 MB Notification: Performance of SimCode: time 7.02e-07/0.4057, allocations: 0 / 0.7757 GB, free: 19.18 MB / 458.7 MB Notification: Performance of Templates: time 0.002946/0.4087, allocations: 0.8112 MB / 0.7765 GB, free: 18.38 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)