Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 108 kB / 16.41 MB, free: 6.027 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.001372/0.001372, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.262/1.262, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002103/0.002103, allocations: 297.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8943/0.8943, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 99.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4405, allocations: 86.97 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002426/0.4429, allocations: 1.456 MB / 0.7685 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003383/0.4433, allocations: 144.4 kB / 0.7686 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.4433, allocations: 0 / 0.7686 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.616e-05/0.4434, allocations: 3.938 kB / 0.7686 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.866e-05/0.4434, allocations: 11.92 kB / 0.7686 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.4437, allocations: 31.91 kB / 0.7687 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.995e-05/0.4438, allocations: 39.91 kB / 0.7687 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.4439, allocations: 27.98 kB / 0.7687 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.4439, allocations: 15.92 kB / 0.7687 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.309e-05/0.444, allocations: 19.92 kB / 0.7688 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.444, allocations: 4 kB / 0.7688 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.314e-05/0.4441, allocations: 35.91 kB / 0.7688 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.4441, allocations: 15.92 kB / 0.7688 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.4442, allocations: 23.88 kB / 0.7688 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.4443, allocations: 67.5 kB / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4443, allocations: 0 / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4443, allocations: 0 / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.4443, allocations: 0 / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004183/0.4447, allocations: 350 kB / 0.7692 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.4448, allocations: 12.03 kB / 0.7692 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.4458, allocations: 216.5 kB / 0.7695 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.446, allocations: 180.2 kB / 0.7696 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.446, allocations: 384 / 0.7696 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.446, allocations: 8.375 kB / 0.7696 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.4466, allocations: 190 kB / 0.7698 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.4466, allocations: 192 / 0.7698 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.4466, allocations: 15.86 kB / 0.7698 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.4466, allocations: 0 / 0.7698 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008189/0.4474, allocations: 279.6 kB / 0.7701 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00084/0.4483, allocations: 441.1 kB / 0.7705 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.4494, allocations: 286.2 kB / 0.7708 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/0.4497, allocations: 100.8 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.4498, allocations: 4 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.4498, allocations: 30.56 kB / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 2.385e-06/0.4498, allocations: 0 / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001135/0.4509, allocations: 313.3 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.451, allocations: 55.39 kB / 0.7713 GB, free: 15.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.177e-05/0.4511, allocations: 117.8 kB / 0.7714 GB, free: 15.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.4511, allocations: 25.7 kB / 0.7714 GB, free: 15.26 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.4511, allocations: 84.14 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.4512, allocations: 19.8 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.4512, allocations: 13.72 kB / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.4513, allocations: 322.8 kB / 0.7718 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.4517, allocations: 96.23 kB / 0.7719 GB, free: 14.72 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.452, allocations: 91.88 kB / 0.772 GB, free: 14.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006454/0.4527, allocations: 176.9 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4527, allocations: 0 / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007206/0.4534, allocations: 221.4 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.4534, allocations: 8 kB / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4534, allocations: 0 / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.4535, allocations: 0 / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.4537, allocations: 35.94 kB / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4537, allocations: 0 / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.4539, allocations: 35.89 kB / 0.7725 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.4539, allocations: 0 / 0.7725 GB, free: 14.15 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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.294e-05/0.454, allocations: 124.2 kB / 0.7726 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.4541, allocations: 7.906 kB / 0.7726 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.006e-05/0.4541, allocations: 15.78 kB / 0.7726 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4541, allocations: 0 / 0.7726 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4541, allocations: 0 / 0.7726 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.4541, allocations: 8 kB / 0.7726 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.4544, allocations: 205.5 kB / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4544, allocations: 0 / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.4546, allocations: 39.94 kB / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.4546, allocations: 0 / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.4546, allocations: 4 kB / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4546, allocations: 0 / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4546, allocations: 0 / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007732/0.4554, allocations: 319.1 kB / 0.7732 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.4555, allocations: 77.11 kB / 0.7732 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.4555, allocations: 0 / 0.7732 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.4557, allocations: 31.95 kB / 0.7733 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.4557, allocations: 4 kB / 0.7733 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.4558, allocations: 7.984 kB / 0.7733 GB, free: 13.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.621e-05/0.4558, allocations: 95.2 kB / 0.7734 GB, free: 13.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4558, allocations: 0 / 0.7734 GB, free: 13.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002245/0.4561, allocations: 12 kB / 0.7734 GB, free: 13.12 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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 9.94e-05/0.4562, allocations: 99.19 kB / 0.7735 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007385/0.4569, allocations: 195.8 kB / 0.7737 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4569, allocations: 0 / 0.7737 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.4573, allocations: 104.1 kB / 0.7737 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.4575, allocations: 7.938 kB / 0.7738 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008688/0.4584, allocations: 287 kB / 0.774 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.4586, allocations: 0.6961 MB / 0.7747 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.4587, allocations: 11.44 kB / 0.7747 GB, free: 11.67 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.4587, allocations: 0 / 0.7747 GB, free: 11.67 MB / 0.545 GB Notification: Performance of Templates: time 0.002304/0.461, allocations: 1.174 MB / 0.7759 GB, free: 10.51 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1)