Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001351/0.001351, allocations: 109.2 kB / 17.02 MB, free: 6.121 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.001528/0.001528, allocations: 194.9 kB / 17.97 MB, free: 5.211 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.458/1.458, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7329/0.7329, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.91 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3165, allocations: 76.14 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002578/0.3191, allocations: 1.445 MB / 0.559 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003695/0.3195, allocations: 145.8 kB / 0.5591 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.3195, allocations: 1.25 kB / 0.5591 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.043e-05/0.3196, allocations: 6.391 kB / 0.5591 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.802e-05/0.3196, allocations: 5.75 kB / 0.5591 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.3199, allocations: 33.47 kB / 0.5592 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.298e-05/0.32, allocations: 38.5 kB / 0.5592 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3201, allocations: 25.91 kB / 0.5592 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.198e-05/0.3202, allocations: 16.59 kB / 0.5592 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.19e-05/0.3202, allocations: 19.31 kB / 0.5592 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3202, allocations: 2.688 kB / 0.5593 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.02e-05/0.3203, allocations: 37.91 kB / 0.5593 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.3203, allocations: 11.8 kB / 0.5593 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.3204, allocations: 20.02 kB / 0.5593 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.3205, allocations: 68.59 kB / 0.5594 GB, free: 35.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3205, allocations: 0.75 kB / 0.5594 GB, free: 35.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3205, allocations: 0 / 0.5594 GB, free: 35.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.3206, allocations: 1.375 kB / 0.5594 GB, free: 35.42 MB / 446.1 MB 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.0004179/0.321, allocations: 365.5 kB / 0.5597 GB, free: 35.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.321, allocations: 10.47 kB / 0.5597 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.3221, allocations: 210.3 kB / 0.5599 GB, free: 35.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.742e-05/0.3222, allocations: 164.2 kB / 0.5601 GB, free: 34.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3222, allocations: 7.75 kB / 0.5601 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.3222, allocations: 1.906 kB / 0.5601 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/0.3228, allocations: 190.1 kB / 0.5603 GB, free: 34.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.3228, allocations: 8.125 kB / 0.5603 GB, free: 34.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.3228, allocations: 14.17 kB / 0.5603 GB, free: 34.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3228, allocations: 1.438 kB / 0.5603 GB, free: 34.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008435/0.3237, allocations: 280.9 kB / 0.5606 GB, free: 34.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/0.3246, allocations: 440.8 kB / 0.561 GB, free: 34.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.3257, allocations: 289.3 kB / 0.5613 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.326, allocations: 103 kB / 0.5614 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.326, allocations: 3.672 kB / 0.5614 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.3261, allocations: 31.72 kB / 0.5614 GB, free: 34.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.3261, allocations: 0 / 0.5614 GB, free: 34.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001123/0.3272, allocations: 312.6 kB / 0.5617 GB, free: 34.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.3272, allocations: 52.2 kB / 0.5618 GB, free: 34.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.945e-05/0.3273, allocations: 126 kB / 0.5619 GB, free: 34.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.3273, allocations: 25.7 kB / 0.5619 GB, free: 34.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.3274, allocations: 88.2 kB / 0.562 GB, free: 33.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.3274, allocations: 13.23 kB / 0.562 GB, free: 33.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.3275, allocations: 15.38 kB / 0.562 GB, free: 33.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.709e-05/0.3275, allocations: 321.5 kB / 0.5623 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.3279, allocations: 93.59 kB / 0.5624 GB, free: 33.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.3282, allocations: 97.98 kB / 0.5625 GB, free: 33.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006274/0.3289, allocations: 167.9 kB / 0.5627 GB, free: 33.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3289, allocations: 0.5938 kB / 0.5627 GB, free: 33.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007072/0.3296, allocations: 218.1 kB / 0.5629 GB, free: 33.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3296, allocations: 9.719 kB / 0.5629 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3296, allocations: 2.188 kB / 0.5629 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3296, allocations: 0 / 0.5629 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.3299, allocations: 34.2 kB / 0.5629 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3299, allocations: 1.094 kB / 0.5629 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.3301, allocations: 28.86 kB / 0.5629 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.3301, allocations: 1.828 kB / 0.5629 GB, free: 33.46 MB / 446.1 MB 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 7.1e-05/0.3302, allocations: 121 kB / 0.5631 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.3302, allocations: 7.391 kB / 0.5631 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.3303, allocations: 12.25 kB / 0.5631 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3303, allocations: 2.219 kB / 0.5631 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3303, allocations: 0 / 0.5631 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3303, allocations: 0.9062 kB / 0.5631 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.3305, allocations: 216.8 kB / 0.5633 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3305, allocations: 3.156 kB / 0.5633 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.3308, allocations: 31.91 kB / 0.5633 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3308, allocations: 1.75 kB / 0.5633 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.3308, allocations: 2.188 kB / 0.5633 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3308, allocations: 1.094 kB / 0.5633 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3308, allocations: 0.7969 kB / 0.5633 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007257/0.3315, allocations: 317 kB / 0.5636 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.3316, allocations: 83.06 kB / 0.5637 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.3316, allocations: 1.844 kB / 0.5637 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.3318, allocations: 32.5 kB / 0.5637 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.3319, allocations: 9.203 kB / 0.5638 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3319, allocations: 2.625 kB / 0.5638 GB, free: 32.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.548e-05/0.3319, allocations: 96.44 kB / 0.5638 GB, free: 32.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3319, allocations: 1.625 kB / 0.5638 GB, free: 32.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000245/0.3322, allocations: 12.31 kB / 0.5639 GB, free: 32.76 MB / 446.1 MB 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.0001097/0.3323, allocations: 99.94 kB / 0.564 GB, free: 32.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007374/0.333, allocations: 200.9 kB / 0.5641 GB, free: 32.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3331, allocations: 2 kB / 0.5641 GB, free: 32.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.3334, allocations: 99.14 kB / 0.5642 GB, free: 32.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.3337, allocations: 3.375 kB / 0.5642 GB, free: 32.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008878/0.3346, allocations: 264.1 kB / 0.5645 GB, free: 32.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.3347, allocations: 0.6915 MB / 0.5652 GB, free: 31.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.933e-05/0.3348, allocations: 21.73 kB / 0.5652 GB, free: 31.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.3349, allocations: 11.47 kB / 0.5652 GB, free: 31.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3349, allocations: 0 / 0.5652 GB, free: 31.79 MB / 446.1 MB Notification: Performance of Templates: time 0.003236/0.3381, allocations: 0.9193 MB / 0.5661 GB, free: 31.73 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)