Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001581/0.001581, 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.001718/0.001718, allocations: 195.4 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.873/2.873, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 61.66 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3131, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001878/0.315, allocations: 0.6542 MB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.3163, allocations: 1.114 MB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.207e-05/0.3163, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.3164, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.3166, allocations: 15.92 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.086e-06/0.3166, allocations: 0 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.59e-05/0.3166, allocations: 8 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.3167, allocations: 0 / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.553e-05/0.3167, allocations: 4 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.226e-05/0.3167, allocations: 7.922 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.3167, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.3168, allocations: 19.92 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.622e-06/0.3169, allocations: 4 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.614e-05/0.3169, allocations: 3.984 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.467e-05/0.3169, allocations: 19.92 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.317, allocations: 3.938 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.144e-06/0.317, allocations: 3.984 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.317, allocations: 0 / 1.069 GB, free: 9.043 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.0002846/0.3173, allocations: 313.2 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3173, allocations: 8.031 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.3173, allocations: 4.938 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.871e-05/0.3174, allocations: 164.4 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3175, allocations: 12.31 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.3175, allocations: 384 / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.3176, allocations: 34.02 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3176, allocations: 0 / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.3176, allocations: 0 / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3176, allocations: 4 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.143e-05/0.3177, allocations: 15.97 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.3178, allocations: 145.7 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.318, allocations: 38.52 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.3181, allocations: 16.94 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001489/0.3182, allocations: 81.11 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.3183, allocations: 34.5 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.3183, allocations: 0 / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.004187/0.3225, allocations: 0.5717 MB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.3225, allocations: 51.41 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.391e-05/0.3226, allocations: 93.86 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3226, allocations: 29.7 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.3226, allocations: 80.14 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.3227, allocations: 15.8 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.3227, allocations: 13.72 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3229, allocations: 318.8 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005709/0.3234, allocations: 83.94 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.324, allocations: 106.5 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.3251, allocations: 186.4 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3251, allocations: 3.938 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001201/0.3264, allocations: 217.5 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3264, allocations: 5.719 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3264, allocations: 3.984 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3264, allocations: 4 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.3268, allocations: 48 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.3268, allocations: 7.938 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/0.3272, allocations: 36.17 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.3272, allocations: 4 kB / 1.072 GB, free: 6.082 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.28e-05/0.3273, allocations: 109.8 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.3273, allocations: 19.83 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.3286, allocations: 237 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3286, allocations: 0 / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3286, allocations: 0 / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3286, allocations: 0 / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.3301, allocations: 454.4 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3301, allocations: 4 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.3305, allocations: 47.97 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3305, allocations: 0 / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.3305, allocations: 8 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3305, allocations: 0 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3305, allocations: 0 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.3318, allocations: 307.3 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.3318, allocations: 77.11 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.3319, allocations: 4 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003543/0.3322, allocations: 39.97 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.3322, allocations: 4 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.3322, allocations: 0 / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.776e-05/0.3323, allocations: 83.31 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3323, allocations: 0 / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002508/0.3325, allocations: 12 kB / 1.073 GB, free: 4.598 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.0001989/0.3327, allocations: 109.8 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.334, allocations: 179.8 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.334, allocations: 0 / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005655/0.3346, allocations: 96.12 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.3348, allocations: 10.94 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.3359, allocations: 214.9 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.3361, allocations: 0.6848 MB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000227/0.3363, allocations: 31.98 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.3364, allocations: 11.44 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3364, allocations: 0 / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of Templates: time 0.002909/0.3393, allocations: 0.8074 MB / 1.075 GB, free: 2.41 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)