Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/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.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001656/0.001656, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001816/0.001816, allocations: 192.2 kB / 16.13 MB, free: 6.656 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.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001234, allocations: 62.84 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4115, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003514/0.4151, allocations: 1.524 MB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000591/0.4157, allocations: 159.5 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.4158, allocations: 0 / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.696e-05/0.4159, allocations: 4 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.416, allocations: 3.938 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.4163, allocations: 23.97 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.4165, allocations: 39.86 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.4166, allocations: 23.98 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.9e-05/0.4167, allocations: 15.92 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.527e-05/0.4168, allocations: 15.92 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.4168, allocations: 7.938 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.4169, allocations: 31.97 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.535e-05/0.417, allocations: 11.94 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.56e-05/0.417, allocations: 15.92 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.4172, allocations: 59.8 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.4173, allocations: 0 / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4173, allocations: 4 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.4173, allocations: 4 kB / 1.069 GB, free: 8.984 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006946/0.418, allocations: 357.4 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.418, allocations: 8.031 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.4192, allocations: 216.5 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.4195, allocations: 168.3 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.4196, allocations: 384 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.4196, allocations: 8.375 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.4202, allocations: 186 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4202, allocations: 192 / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.4202, allocations: 15.92 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.4203, allocations: 4 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008404/0.4211, allocations: 287.5 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009923/0.4221, allocations: 441 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.4232, allocations: 286.1 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/0.4236, allocations: 100.8 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.4236, allocations: 4 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.4237, allocations: 34.56 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.694e-06/0.4237, allocations: 0 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.001178/0.4249, allocations: 305.3 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.4249, allocations: 51.41 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.4251, allocations: 129.7 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.4251, allocations: 25.7 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.4251, allocations: 88.14 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.4252, allocations: 19.69 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.4252, allocations: 17.7 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.4254, allocations: 322.8 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.4258, allocations: 95.88 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.4262, allocations: 91.86 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006711/0.4268, allocations: 172.6 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4269, allocations: 0 / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00073/0.4276, allocations: 217.5 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4276, allocations: 4 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4276, allocations: 0 / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4277, allocations: 4 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.4279, allocations: 35.88 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.4279, allocations: 0 / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.4281, allocations: 27.95 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.4281, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8262 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.0001029/0.4283, allocations: 125.8 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.4283, allocations: 7.906 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.316e-05/0.4284, allocations: 11.91 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4284, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4284, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4284, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.4287, allocations: 209.5 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4287, allocations: 4 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.4289, allocations: 39.94 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4289, allocations: 0 / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.429, allocations: 0 / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.429, allocations: 0 / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.429, allocations: 0 / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009218/0.4299, allocations: 323.4 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.43, allocations: 85.09 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.43, allocations: 0 / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.4302, allocations: 23.95 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.4303, allocations: 4 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.4303, allocations: 8 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.247e-05/0.4304, allocations: 103.5 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4304, allocations: 0 / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002494/0.4306, allocations: 12 kB / 1.074 GB, free: 4.074 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 (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.0001693/0.4308, allocations: 103.2 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007753/0.4316, allocations: 191.8 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4316, allocations: 0 / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003765/0.432, allocations: 107.8 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.4323, allocations: 7.953 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.4333, allocations: 267.3 kB / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.4338, allocations: 0.6926 MB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.096e-05/0.4339, allocations: 23.98 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.4339, allocations: 11.44 kB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.4339, allocations: 0 / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of Templates: time 0.00334/0.4373, allocations: 0.8426 MB / 1.076 GB, free: 1.781 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)