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.001291/0.001291, allocations: 107.7 kB / 17.02 MB, free: 5.699 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.001415/0.001415, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.273/1.273, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6967/0.6967, allocations: 115.1 MB / 406.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 71.89 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3493, allocations: 76.14 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002755/0.3521, allocations: 1.443 MB / 0.559 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003924/0.3526, allocations: 148.4 kB / 0.5591 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.815e-05/0.3526, allocations: 0 / 0.5591 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.282e-05/0.3527, allocations: 3.938 kB / 0.5591 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.902e-05/0.3527, allocations: 6.078 kB / 0.5591 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.353, allocations: 35.59 kB / 0.5592 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.3531, allocations: 37.98 kB / 0.5592 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.3532, allocations: 23.83 kB / 0.5592 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.463e-05/0.3533, allocations: 18.06 kB / 0.5592 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.189e-05/0.3533, allocations: 17.34 kB / 0.5593 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.3534, allocations: 4.062 kB / 0.5593 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.273e-05/0.3535, allocations: 36.22 kB / 0.5593 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.3535, allocations: 13.39 kB / 0.5593 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.3535, allocations: 24.05 kB / 0.5593 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.3537, allocations: 62.62 kB / 0.5594 GB, free: 35.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3537, allocations: 1.062 kB / 0.5594 GB, free: 35.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3537, allocations: 0 / 0.5594 GB, free: 35.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3537, allocations: 0 / 0.5594 GB, free: 35.45 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.0004007/0.3541, allocations: 360.3 kB / 0.5597 GB, free: 35.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3542, allocations: 10 kB / 0.5597 GB, free: 35.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.3552, allocations: 215.8 kB / 0.5599 GB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.3553, allocations: 168.4 kB / 0.5601 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3553, allocations: 7 kB / 0.5601 GB, free: 34.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.3554, allocations: 6.906 kB / 0.5601 GB, free: 34.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.3559, allocations: 190.9 kB / 0.5603 GB, free: 34.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.3559, allocations: 192 / 0.5603 GB, free: 34.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.3559, allocations: 11.94 kB / 0.5603 GB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3559, allocations: 2.062 kB / 0.5603 GB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007646/0.3567, allocations: 280.8 kB / 0.5606 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008064/0.3575, allocations: 443.2 kB / 0.561 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.3586, allocations: 284 kB / 0.5613 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.3589, allocations: 102.9 kB / 0.5614 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.3589, allocations: 3.609 kB / 0.5614 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.3589, allocations: 34 kB / 0.5614 GB, free: 34.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.359, allocations: 0 / 0.5614 GB, free: 34.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001048/0.36, allocations: 312.6 kB / 0.5617 GB, free: 34.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.36, allocations: 54.92 kB / 0.5618 GB, free: 34.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.017e-05/0.3601, allocations: 118.8 kB / 0.5619 GB, free: 34.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.3601, allocations: 25.7 kB / 0.5619 GB, free: 34.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.3602, allocations: 93.05 kB / 0.562 GB, free: 33.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.3602, allocations: 6 kB / 0.562 GB, free: 33.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.3603, allocations: 21.34 kB / 0.562 GB, free: 33.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.694e-05/0.3603, allocations: 322.8 kB / 0.5623 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.3607, allocations: 92.17 kB / 0.5624 GB, free: 33.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.361, allocations: 95.38 kB / 0.5625 GB, free: 33.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/0.3616, allocations: 171.7 kB / 0.5627 GB, free: 33.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3616, allocations: 0 / 0.5627 GB, free: 33.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006556/0.3622, allocations: 223.8 kB / 0.5629 GB, free: 33.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3622, allocations: 6.141 kB / 0.5629 GB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3623, allocations: 0 / 0.5629 GB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3623, allocations: 2.562 kB / 0.5629 GB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.3625, allocations: 32.88 kB / 0.5629 GB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3625, allocations: 1.891 kB / 0.5629 GB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.3627, allocations: 29.53 kB / 0.5629 GB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.3628, allocations: 1.641 kB / 0.5629 GB, free: 33.5 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.847e-05/0.3628, allocations: 121.2 kB / 0.5631 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.3629, allocations: 6.844 kB / 0.5631 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.3629, allocations: 15.73 kB / 0.5631 GB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3629, allocations: 0.9688 kB / 0.5631 GB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3629, allocations: 5.469 kB / 0.5631 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.363, allocations: 1.188 kB / 0.5631 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.3632, allocations: 213.7 kB / 0.5633 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3632, allocations: 0 / 0.5633 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.3634, allocations: 38.31 kB / 0.5633 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3634, allocations: 0 / 0.5633 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3634, allocations: 4.922 kB / 0.5633 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.3634, allocations: 2.344 kB / 0.5633 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3634, allocations: 0 / 0.5633 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007369/0.3642, allocations: 309.8 kB / 0.5636 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.3642, allocations: 83.03 kB / 0.5637 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.3643, allocations: 2.984 kB / 0.5637 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.3645, allocations: 31.2 kB / 0.5637 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.3645, allocations: 7.922 kB / 0.5638 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.3645, allocations: 3.5 kB / 0.5638 GB, free: 32.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.568e-05/0.3646, allocations: 92.31 kB / 0.5638 GB, free: 32.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3646, allocations: 0 / 0.5638 GB, free: 32.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.3648, allocations: 13.28 kB / 0.5639 GB, free: 32.79 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.0001063/0.3649, allocations: 104.2 kB / 0.564 GB, free: 32.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007512/0.3657, allocations: 196.9 kB / 0.5641 GB, free: 32.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3657, allocations: 0 / 0.5641 GB, free: 32.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.3661, allocations: 101.9 kB / 0.5642 GB, free: 32.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.3663, allocations: 6.781 kB / 0.5642 GB, free: 32.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008308/0.3672, allocations: 259.8 kB / 0.5645 GB, free: 32.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.3673, allocations: 0.6997 MB / 0.5652 GB, free: 31.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.705e-05/0.3674, allocations: 21.2 kB / 0.5652 GB, free: 31.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.3674, allocations: 10.02 kB / 0.5652 GB, free: 31.81 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3674, allocations: 0 / 0.5652 GB, free: 31.81 MB / 446.1 MB Notification: Performance of Templates: time 0.003017/0.3704, allocations: 0.9214 MB / 0.5661 GB, free: 31.76 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)