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.00101/0.00101, allocations: 88.27 kB / 16.66 MB, free: 6.25 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.001231/0.001231, allocations: 176.6 kB / 17.57 MB, free: 5.859 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.424/1.424, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7343/0.7343, allocations: 115.5 MB / 408.2 MB, free: 7.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003724, allocations: 16 kB / 496.5 MB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3847, allocations: 77.52 MB / 0.5606 GB, free: 36.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.00141/0.3862, allocations: 1.181 MB / 0.5617 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000394/0.3866, allocations: 144.1 kB / 0.5619 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.927e-05/0.3866, allocations: 3.719 kB / 0.5619 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.809e-05/0.3867, allocations: 0.6094 kB / 0.5619 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.769e-05/0.3868, allocations: 5.688 kB / 0.5619 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.387, allocations: 24.05 kB / 0.5619 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.931e-05/0.3871, allocations: 42.98 kB / 0.5619 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3872, allocations: 18.84 kB / 0.562 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.3872, allocations: 15.75 kB / 0.562 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.134e-05/0.3873, allocations: 16.41 kB / 0.562 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.3873, allocations: 1.375 kB / 0.562 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.491e-05/0.3874, allocations: 34.83 kB / 0.562 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.3874, allocations: 10.91 kB / 0.562 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.3874, allocations: 34.09 kB / 0.5621 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.3875, allocations: 40.42 kB / 0.5621 GB, free: 35.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3876, allocations: 7.656 kB / 0.5621 GB, free: 35.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3876, allocations: 3.938 kB / 0.5621 GB, free: 35.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.3876, allocations: 0 / 0.5621 GB, free: 35.32 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.0003636/0.3879, allocations: 358.7 kB / 0.5625 GB, free: 34.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.388, allocations: 12.56 kB / 0.5625 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.3892, allocations: 241.8 kB / 0.5627 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.922e-05/0.3893, allocations: 172.3 kB / 0.5629 GB, free: 34.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.3893, allocations: 3.969 kB / 0.5629 GB, free: 34.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.3893, allocations: 7.453 kB / 0.5629 GB, free: 34.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005911/0.3899, allocations: 208.3 kB / 0.5631 GB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.3899, allocations: 1.938 kB / 0.5631 GB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.3899, allocations: 7.938 kB / 0.5631 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3899, allocations: 2.188 kB / 0.5631 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009194/0.3909, allocations: 319.6 kB / 0.5634 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008906/0.3918, allocations: 461.5 kB / 0.5638 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.3931, allocations: 338.1 kB / 0.5642 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004029/0.3935, allocations: 121.4 kB / 0.5643 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.3935, allocations: 6.078 kB / 0.5643 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.3935, allocations: 37.25 kB / 0.5643 GB, free: 34.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.3935, allocations: 0 / 0.5643 GB, free: 34.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001289/0.3948, allocations: 367.4 kB / 0.5647 GB, free: 34.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.3949, allocations: 52.56 kB / 0.5647 GB, free: 34.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.151e-05/0.395, allocations: 123.8 kB / 0.5648 GB, free: 33.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.395, allocations: 26.8 kB / 0.5649 GB, free: 33.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.395, allocations: 88.16 kB / 0.5649 GB, free: 33.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.395, allocations: 9.562 kB / 0.565 GB, free: 33.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.3951, allocations: 13.02 kB / 0.565 GB, free: 33.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.591e-05/0.3951, allocations: 319.1 kB / 0.5653 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.3955, allocations: 115.2 kB / 0.5654 GB, free: 33.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/0.3959, allocations: 113.2 kB / 0.5655 GB, free: 33.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007705/0.3967, allocations: 217.3 kB / 0.5657 GB, free: 33.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3967, allocations: 1.094 kB / 0.5657 GB, free: 33.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008335/0.3976, allocations: 256.3 kB / 0.5659 GB, free: 33.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3976, allocations: 5.906 kB / 0.5659 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3976, allocations: 0 / 0.5659 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3976, allocations: 3.156 kB / 0.5659 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.3979, allocations: 42.16 kB / 0.566 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3979, allocations: 0.9375 kB / 0.566 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.3981, allocations: 38.55 kB / 0.566 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.3982, allocations: 1.797 kB / 0.566 GB, free: 33.37 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 8.203e-05/0.3982, allocations: 130.4 kB / 0.5662 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.3983, allocations: 2.156 kB / 0.5662 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.3983, allocations: 7.469 kB / 0.5662 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3983, allocations: 2.562 kB / 0.5662 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3984, allocations: 0 / 0.5662 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.3984, allocations: 1.828 kB / 0.5662 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.3986, allocations: 216.3 kB / 0.5664 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3986, allocations: 4.531 kB / 0.5664 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.3988, allocations: 48.19 kB / 0.5664 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3989, allocations: 1.25 kB / 0.5664 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3989, allocations: 2.188 kB / 0.5664 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3989, allocations: 2.125 kB / 0.5664 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3989, allocations: 0 / 0.5664 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008594/0.3998, allocations: 350.1 kB / 0.5668 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/0.3998, allocations: 82.69 kB / 0.5668 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.3998, allocations: 1.766 kB / 0.5668 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.4001, allocations: 38.44 kB / 0.5669 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.4001, allocations: 6.453 kB / 0.5669 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.4001, allocations: 1.828 kB / 0.5669 GB, free: 32.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.834e-05/0.4002, allocations: 103.5 kB / 0.567 GB, free: 32.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4002, allocations: 0 / 0.567 GB, free: 32.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.4004, allocations: 12.12 kB / 0.567 GB, free: 32.66 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.0001026/0.4005, allocations: 99.77 kB / 0.5671 GB, free: 32.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008575/0.4014, allocations: 236.1 kB / 0.5673 GB, free: 32.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4014, allocations: 3.938 kB / 0.5673 GB, free: 32.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.4018, allocations: 122 kB / 0.5674 GB, free: 32.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.4021, allocations: 7.094 kB / 0.5674 GB, free: 32.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009529/0.4031, allocations: 324.6 kB / 0.5678 GB, free: 32.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.4032, allocations: 0.6891 MB / 0.5684 GB, free: 31.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.4033, allocations: 13.48 kB / 0.5684 GB, free: 31.63 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4033, allocations: 0 / 0.5684 GB, free: 31.63 MB / 446.1 MB Notification: Performance of Templates: time 0.002879/0.4061, allocations: 1.148 MB / 0.5696 GB, free: 31.58 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)