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.001058/0.001058, allocations: 113.3 kB / 16.38 MB, free: 6.48 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.0011/0.001101, allocations: 190.2 kB / 17.31 MB, free: 5.785 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.252/1.252, 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.002127/0.002127, allocations: 272.1 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8899/0.8899, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 99.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4564, allocations: 86.97 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002498/0.4589, allocations: 1.468 MB / 0.7684 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003736/0.4593, allocations: 140.4 kB / 0.7686 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.4594, allocations: 0 / 0.7686 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.876e-05/0.4594, allocations: 0 / 0.7686 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.416e-05/0.4595, allocations: 11.92 kB / 0.7686 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.4597, allocations: 35.91 kB / 0.7686 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.4598, allocations: 43.84 kB / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.46, allocations: 20 kB / 0.7687 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.287e-05/0.46, allocations: 15.97 kB / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.845e-05/0.4601, allocations: 23.86 kB / 0.7687 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.4601, allocations: 4 kB / 0.7687 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.394e-05/0.4602, allocations: 31.97 kB / 0.7687 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.4602, allocations: 8 kB / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.4603, allocations: 27.86 kB / 0.7688 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.4604, allocations: 71.39 kB / 0.7688 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4604, allocations: 0 / 0.7688 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4604, allocations: 0 / 0.7688 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.4604, allocations: 0 / 0.7688 GB, free: 2.047 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.0004556/0.4609, allocations: 358 kB / 0.7692 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4609, allocations: 8.031 kB / 0.7692 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.462, allocations: 212.5 kB / 0.7694 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.4621, allocations: 172.2 kB / 0.7696 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.4621, allocations: 8.375 kB / 0.7696 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.4622, allocations: 384 / 0.7696 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/0.4627, allocations: 198 kB / 0.7698 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.4627, allocations: 192 / 0.7698 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.4627, allocations: 7.875 kB / 0.7698 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4628, allocations: 0 / 0.7698 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008224/0.4636, allocations: 283.6 kB / 0.77 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008614/0.4645, allocations: 441.1 kB / 0.7705 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.4656, allocations: 290.1 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/0.4659, allocations: 100.8 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.466, allocations: 4 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.466, allocations: 30.56 kB / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.466, allocations: 0 / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001142/0.4672, allocations: 313.5 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.4672, allocations: 51.41 kB / 0.7712 GB, free: 15.44 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.657e-05/0.4673, allocations: 121.8 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.4673, allocations: 29.69 kB / 0.7714 GB, free: 15.28 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.4674, allocations: 84.14 kB / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.4674, allocations: 15.81 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.4675, allocations: 21.7 kB / 0.7715 GB, free: 15.15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4676, allocations: 318.8 kB / 0.7718 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/0.4679, allocations: 95.81 kB / 0.7719 GB, free: 14.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/0.4683, allocations: 99.86 kB / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006387/0.4689, allocations: 172.6 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4689, allocations: 0 / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007078/0.4696, allocations: 213.5 kB / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.4696, allocations: 8 kB / 0.7723 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.4697, allocations: 3.938 kB / 0.7723 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.4697, allocations: 0 / 0.7723 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.4699, allocations: 31.95 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4699, allocations: 3.984 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.4701, allocations: 31.89 kB / 0.7724 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.4702, allocations: 4 kB / 0.7724 GB, free: 14.17 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 8.604e-05/0.4702, allocations: 120.2 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.4703, allocations: 3.906 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/0.4703, allocations: 15.89 kB / 0.7725 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4703, allocations: 0 / 0.7725 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4703, allocations: 0 / 0.7725 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4703, allocations: 4 kB / 0.7725 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.4706, allocations: 209.5 kB / 0.7727 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4706, allocations: 0 / 0.7727 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.4708, allocations: 35.94 kB / 0.7728 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4708, allocations: 0 / 0.7728 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4708, allocations: 0 / 0.7728 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4708, allocations: 4 kB / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4708, allocations: 384 / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007443/0.4716, allocations: 319.1 kB / 0.7731 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.4716, allocations: 77.11 kB / 0.7732 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.4717, allocations: 0 / 0.7732 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.4719, allocations: 43.88 kB / 0.7732 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.4719, allocations: 0 / 0.7732 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.4719, allocations: 4 kB / 0.7732 GB, free: 13.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.909e-05/0.472, allocations: 95.27 kB / 0.7733 GB, free: 13.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.472, allocations: 0 / 0.7733 GB, free: 13.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000226/0.4722, allocations: 12 kB / 0.7733 GB, free: 13.15 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.0001109/0.4723, allocations: 103.1 kB / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007402/0.4731, allocations: 203.7 kB / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4731, allocations: 4 kB / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.4735, allocations: 99.88 kB / 0.7737 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.4737, allocations: 4 kB / 0.7737 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009096/0.4746, allocations: 287 kB / 0.774 GB, free: 12.42 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.4749, allocations: 0.6883 MB / 0.7747 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/0.475, allocations: 19.42 kB / 0.7747 GB, free: 11.69 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.475, allocations: 0 / 0.7747 GB, free: 11.69 MB / 0.545 GB Notification: Performance of Templates: time 0.002299/0.4773, allocations: 1.182 MB / 0.7758 GB, free: 10.52 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)