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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 103.8 kB / 16.4 MB, free: 6.508 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.001158/0.001158, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.822/0.822, allocations: 126.1 MB / 417.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.34 kB / 0.5726 GB, free: 27.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1617, allocations: 78.71 MB / 0.6495 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002387/0.1641, allocations: 1.448 MB / 0.6509 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003687/0.1645, allocations: 144.4 kB / 0.651 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/0.1645, allocations: 0 / 0.651 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.836e-05/0.1646, allocations: 0 / 0.651 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.487e-05/0.1646, allocations: 3.938 kB / 0.651 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.1649, allocations: 39.89 kB / 0.651 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.106e-05/0.165, allocations: 35.92 kB / 0.6511 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1651, allocations: 31.91 kB / 0.6511 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.424e-05/0.1651, allocations: 15.92 kB / 0.6511 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.494e-05/0.1652, allocations: 31.8 kB / 0.6512 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.1652, allocations: 4 kB / 0.6512 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.669e-05/0.1653, allocations: 31.95 kB / 0.6512 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.1653, allocations: 8 kB / 0.6512 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.1654, allocations: 27.86 kB / 0.6512 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.1655, allocations: 60.08 kB / 0.6513 GB, free: 2.812 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.1655, allocations: 0 / 0.6513 GB, free: 2.812 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1655, allocations: 0 / 0.6513 GB, free: 2.812 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1655, allocations: 3.938 kB / 0.6513 GB, free: 2.809 MB / 494.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.0004136/0.166, allocations: 367.2 kB / 0.6516 GB, free: 2.398 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.166, allocations: 8.031 kB / 0.6516 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.166, allocations: 38.75 kB / 0.6517 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.1671, allocations: 208.5 kB / 0.6519 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1672, allocations: 168.3 kB / 0.652 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.1672, allocations: 384 / 0.652 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.1673, allocations: 4.375 kB / 0.652 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005572/0.1678, allocations: 198 kB / 0.6522 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1679, allocations: 3.938 kB / 0.6522 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1679, allocations: 0 / 0.6522 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1679, allocations: 4 kB / 0.6522 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008474/0.1687, allocations: 283.6 kB / 0.6525 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008858/0.1696, allocations: 449.1 kB / 0.6529 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.1708, allocations: 290.1 kB / 0.6532 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.1711, allocations: 104.8 kB / 0.6533 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1712, allocations: 0 / 0.6533 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1712, allocations: 34.56 kB / 0.6534 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1712, allocations: 0 / 0.6534 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001166/0.1724, allocations: 313.2 kB / 0.6537 GB, free: 212 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.1724, allocations: 51.41 kB / 0.6537 GB, free: 148 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.724e-05/0.1725, allocations: 121.8 kB / 0.6538 GB, free: 16 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.1725, allocations: 25.7 kB / 0.6538 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.1726, allocations: 92.52 kB / 0.6539 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.1726, allocations: 3.953 kB / 0.6539 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.1727, allocations: 21.7 kB / 0.654 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.1728, allocations: 314.8 kB / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.1731, allocations: 99.81 kB / 0.6543 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.1735, allocations: 99.86 kB / 0.6544 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/0.1742, allocations: 172.6 kB / 0.6546 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1742, allocations: 0 / 0.6546 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007403/0.175, allocations: 225.3 kB / 0.6548 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.175, allocations: 5.562 kB / 0.6548 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.175, allocations: 0 / 0.6548 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.175, allocations: 0 / 0.6548 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.1753, allocations: 39.94 kB / 0.6549 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1753, allocations: 3.984 kB / 0.6549 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.1755, allocations: 27.95 kB / 0.6549 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1755, allocations: 0 / 0.6549 GB, free: 14.88 MB / 0.4981 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.501e-05/0.1756, allocations: 125.3 kB / 0.655 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.1756, allocations: 8.281 kB / 0.655 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.1757, allocations: 7.906 kB / 0.655 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1757, allocations: 7.984 kB / 0.655 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1757, allocations: 4 kB / 0.655 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1757, allocations: 0 / 0.655 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.1759, allocations: 213.5 kB / 0.6552 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1759, allocations: 0 / 0.6552 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.1762, allocations: 35.94 kB / 0.6553 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1762, allocations: 0 / 0.6553 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1762, allocations: 4 kB / 0.6553 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1762, allocations: 3.938 kB / 0.6553 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1762, allocations: 4 kB / 0.6553 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008011/0.177, allocations: 312.9 kB / 0.6556 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.1771, allocations: 81.11 kB / 0.6557 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.1771, allocations: 3.984 kB / 0.6557 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.1773, allocations: 27.95 kB / 0.6557 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.1774, allocations: 0 / 0.6557 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.1774, allocations: 4 kB / 0.6557 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.521e-05/0.1775, allocations: 95.27 kB / 0.6558 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1775, allocations: 0 / 0.6558 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002502/0.1777, allocations: 16.22 kB / 0.6558 GB, free: 13.84 MB / 0.4981 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.001075/0.1788, allocations: 0.8488 MB / 0.6566 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007906/0.1796, allocations: 195.8 kB / 0.6568 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1796, allocations: 3.938 kB / 0.6568 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.18, allocations: 111.8 kB / 0.6569 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.1803, allocations: 0 / 0.6569 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/0.1839, allocations: 1.838 MB / 0.6587 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.1842, allocations: 0.6807 MB / 0.6594 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.702e-05/0.1842, allocations: 23.98 kB / 0.6594 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.1843, allocations: 15.42 kB / 0.6594 GB, free: 10 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.1843, allocations: 0 / 0.6594 GB, free: 10 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.2035, allocations: 1.95 MB / 0.6613 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.724, allocations: 7.375 kB / 0.6613 GB, free: 8.121 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)