Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009355/0.0009355, allocations: 80.94 kB / 21.55 MB, free: 2.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 158.2 kB / 24.96 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9311/0.9311, allocations: 177.1 MB / 205.4 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.929/1.929, allocations: 389.6 MB / 0.6362 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.776 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.62e-05, allocations: 5.547 kB / 0.776 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002026/0.002053, allocations: 1.58 MB / 0.7775 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008745/0.002927, allocations: 0.6003 MB / 0.7781 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.663e-05/0.002984, allocations: 0 / 0.7781 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.003015, allocations: 3.938 kB / 0.7781 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.486e-05/0.00307, allocations: 3.734 kB / 0.7781 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.003329, allocations: 60.84 kB / 0.7782 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.003439, allocations: 35.41 kB / 0.7782 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.366e-05/0.003512, allocations: 0.8125 kB / 0.7782 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.003634, allocations: 36.98 kB / 0.7782 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.346e-05/0.003678, allocations: 12.58 kB / 0.7782 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.003688, allocations: 0.7188 kB / 0.7782 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.003813, allocations: 55.94 kB / 0.7783 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.003827, allocations: 9.438 kB / 0.7783 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.299e-05/0.00384, allocations: 4 kB / 0.7783 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.003966, allocations: 71.8 kB / 0.7784 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.00397, allocations: 7.922 kB / 0.7784 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003971, allocations: 1.125 kB / 0.7784 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.003975, allocations: 0 / 0.7784 GB, free: 2.953 MB / 0.7292 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.0002787/0.004253, allocations: 252.8 kB / 0.7786 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.004285, allocations: 10.25 kB / 0.7786 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002551/0.006836, allocations: 0.9869 MB / 0.7796 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.007018, allocations: 117.7 kB / 0.7797 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.007028, allocations: 2.094 kB / 0.7797 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.00705, allocations: 384 / 0.7797 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000686/0.007736, allocations: 336 kB / 0.78 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.007743, allocations: 192 / 0.78 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.007763, allocations: 384 / 0.78 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.00777, allocations: 8.844 kB / 0.78 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.007925, allocations: 59.75 kB / 0.7801 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.009216, allocations: 0.6073 MB / 0.7807 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006112/0.009827, allocations: 293.5 kB / 0.781 GB, free: 392 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.335e-05/0.009911, allocations: 44.91 kB / 0.781 GB, free: 344 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.009925, allocations: 0 / 0.781 GB, free: 344 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.009945, allocations: 34.56 kB / 0.7811 GB, free: 300 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.009946, allocations: 0 / 0.7811 GB, free: 300 kB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003119/0.01026, allocations: 125.7 kB / 0.7812 GB, free: 168 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.01028, allocations: 59.34 kB / 0.7812 GB, free: 96 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.209e-05/0.01034, allocations: 110.7 kB / 0.7813 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.01037, allocations: 25.7 kB / 0.7814 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.0104, allocations: 88.12 kB / 0.7814 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.01042, allocations: 3.953 kB / 0.7814 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.01048, allocations: 21.69 kB / 0.7815 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.398e-05/0.01056, allocations: 326.8 kB / 0.7818 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.674e-05/0.01064, allocations: 28.02 kB / 0.7818 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.398e-05/0.01072, allocations: 24 kB / 0.7818 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.01084, allocations: 56.83 kB / 0.7819 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.01084, allocations: 0 / 0.7819 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001817/0.01102, allocations: 89.59 kB / 0.782 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.01103, allocations: 4 kB / 0.782 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.01104, allocations: 4.031 kB / 0.782 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.01105, allocations: 3.938 kB / 0.782 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/0.01155, allocations: 199.8 kB / 0.7822 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.01155, allocations: 3.984 kB / 0.7822 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.01197, allocations: 179.8 kB / 0.7823 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.01199, allocations: 3.984 kB / 0.7823 GB, free: 14.9 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.47e-05/0.01206, allocations: 109.8 kB / 0.7825 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.0121, allocations: 11.97 kB / 0.7825 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.01214, allocations: 11.62 kB / 0.7825 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01214, allocations: 7.938 kB / 0.7825 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.01214, allocations: 0 / 0.7825 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01215, allocations: 0 / 0.7825 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.0123, allocations: 121.8 kB / 0.7826 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01231, allocations: 3.984 kB / 0.7826 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004691/0.01278, allocations: 191.8 kB / 0.7828 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01278, allocations: 4 kB / 0.7828 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.01279, allocations: 3.984 kB / 0.7828 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.01279, allocations: 0 / 0.7828 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.0128, allocations: 3.984 kB / 0.7828 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.01301, allocations: 191.4 kB / 0.783 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-06/0.01302, allocations: 4.031 kB / 0.783 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.01304, allocations: 0 / 0.783 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004282/0.01347, allocations: 187.8 kB / 0.7832 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.01349, allocations: 3.938 kB / 0.7832 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.01351, allocations: 3.984 kB / 0.7832 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.28e-05/0.01352, allocations: 16.84 kB / 0.7832 GB, free: 14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.91e-07/0.01352, allocations: 0 / 0.7832 GB, free: 14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001597/0.01368, allocations: 36 kB / 0.7832 GB, free: 13.96 MB / 0.7448 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 (2): * Single equations (assignments): 2 * 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 7.513e-05/0.01376, allocations: 76.42 kB / 0.7833 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.01397, allocations: 88.75 kB / 0.7834 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01397, allocations: 0 / 0.7834 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.968e-05/0.01407, allocations: 52.81 kB / 0.7834 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.0142, allocations: 19.92 kB / 0.7834 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.01459, allocations: 172.5 kB / 0.7836 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.956e-05/0.01462, allocations: 55.36 kB / 0.7837 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001505/0.01477, allocations: 36 kB / 0.7837 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.01494, allocations: 55.34 kB / 0.7838 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/0.01494, allocations: 4 kB / 0.7838 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of Templates: time 0.003787/0.01872, allocations: 2.808 MB / 0.7865 GB, free: 10.54 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.911408859305084]