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.001319/0.001319, allocations: 108.9 kB / 16.41 MB, free: 6.449 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.001283/0.001283, allocations: 189.2 kB / 17.34 MB, free: 5.707 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002489/0.002489, allocations: 292.1 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9948/0.9948, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002794/0.002794, allocations: 96.27 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4559, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002763/0.4586, allocations: 1.457 MB / 0.7685 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004341/0.4591, allocations: 144.4 kB / 0.7686 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.329e-05/0.4591, allocations: 0 / 0.7686 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.076e-05/0.4591, allocations: 7.938 kB / 0.7686 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.078e-05/0.4592, allocations: 7.938 kB / 0.7686 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.4594, allocations: 39.89 kB / 0.7687 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.4595, allocations: 35.92 kB / 0.7687 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.4596, allocations: 15.98 kB / 0.7687 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.492e-05/0.4597, allocations: 19.92 kB / 0.7687 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.698e-05/0.4597, allocations: 19.92 kB / 0.7688 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.4597, allocations: 4 kB / 0.7688 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.442e-05/0.4598, allocations: 35.97 kB / 0.7688 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.4598, allocations: 11.92 kB / 0.7688 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.4599, allocations: 23.81 kB / 0.7688 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.46, allocations: 63.64 kB / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.46, allocations: 4 kB / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.46, allocations: 0 / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.46, 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.0005415/0.4606, allocations: 361.1 kB / 0.7692 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.4606, allocations: 8.031 kB / 0.7693 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.4617, allocations: 212.5 kB / 0.7695 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.4619, allocations: 172.2 kB / 0.7696 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.4619, allocations: 8.375 kB / 0.7696 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.4619, allocations: 384 / 0.7696 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006191/0.4625, allocations: 202 kB / 0.7698 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.4625, allocations: 4.125 kB / 0.7698 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.4626, allocations: 3.938 kB / 0.7698 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4626, allocations: 0 / 0.7698 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009192/0.4635, allocations: 283.6 kB / 0.7701 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009633/0.4645, allocations: 437.1 kB / 0.7705 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.4656, allocations: 282.2 kB / 0.7708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/0.466, allocations: 104.8 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.466, allocations: 0 / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.4661, allocations: 34.56 kB / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.4661, allocations: 0 / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001248/0.4673, allocations: 317.2 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.4674, allocations: 51.41 kB / 0.7713 GB, free: 15.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.4675, allocations: 117.8 kB / 0.7714 GB, free: 15.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.4675, allocations: 25.7 kB / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.4676, allocations: 92.08 kB / 0.7715 GB, free: 15.17 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.4676, allocations: 15.94 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.4676, allocations: 13.72 kB / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4678, allocations: 322.8 kB / 0.7718 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.4682, allocations: 91.88 kB / 0.7719 GB, free: 14.72 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/0.4685, allocations: 99.88 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006802/0.4692, allocations: 169 kB / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4692, allocations: 0 / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007743/0.47, allocations: 221.7 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.47, allocations: 4 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.47, allocations: 3.984 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.47, allocations: 3.984 kB / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.4703, allocations: 35.94 kB / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.4703, allocations: 4 kB / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.4705, allocations: 27.95 kB / 0.7725 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.4705, allocations: 0 / 0.7725 GB, free: 14.16 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 0.0001045/0.4706, allocations: 124.2 kB / 0.7726 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.4707, allocations: 11.89 kB / 0.7726 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.4707, allocations: 7.906 kB / 0.7726 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4707, allocations: 8 kB / 0.7726 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4707, allocations: 3.938 kB / 0.7726 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.4707, allocations: 0 / 0.7726 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.471, allocations: 209.5 kB / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.471, allocations: 0 / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.4712, allocations: 35.94 kB / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.4712, allocations: 4 kB / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.4712, allocations: 0 / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.4712, allocations: 0 / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4712, allocations: 4 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000837/0.4721, allocations: 315.2 kB / 0.7732 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/0.4721, allocations: 77.11 kB / 0.7732 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.4721, allocations: 4 kB / 0.7732 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.4724, allocations: 31.95 kB / 0.7733 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.4724, allocations: 0 / 0.7733 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.4724, allocations: 7.984 kB / 0.7733 GB, free: 13.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.543e-05/0.4725, allocations: 95.2 kB / 0.7734 GB, free: 13.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4725, allocations: 0 / 0.7734 GB, free: 13.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002418/0.4727, allocations: 12 kB / 0.7734 GB, free: 13.13 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 0.0001398/0.4729, allocations: 103.2 kB / 0.7735 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008053/0.4737, allocations: 191.8 kB / 0.7737 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4737, allocations: 0 / 0.7737 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003938/0.4741, allocations: 107.9 kB / 0.7738 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.0002523/0.4743, allocations: 288 / 0.7738 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00097/0.4753, allocations: 273.1 kB / 0.774 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.4756, allocations: 0.7 MB / 0.7747 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.285e-05/0.4757, allocations: 19.98 kB / 0.7747 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.4758, allocations: 11.44 kB / 0.7747 GB, free: 11.68 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.4758, allocations: 0 / 0.7747 GB, free: 11.68 MB / 0.545 GB Notification: Performance of Templates: time 0.003523/0.4793, allocations: 0.9389 MB / 0.7756 GB, free: 10.75 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1)