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.001596/0.001596, allocations: 103.7 kB / 16.4 MB, free: 6.492 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.001885/0.001885, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.724/0.724, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 66.7 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1549, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002771/0.1577, allocations: 1.455 MB / 0.633 GB, free: 3.43 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000389/0.1581, allocations: 144.4 kB / 0.6332 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.1581, allocations: 0 / 0.6332 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.604e-05/0.1582, allocations: 3.938 kB / 0.6332 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.288e-05/0.1583, allocations: 7.938 kB / 0.6332 GB, free: 3.273 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.1585, allocations: 31.91 kB / 0.6332 GB, free: 3.242 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.1586, allocations: 43.89 kB / 0.6332 GB, free: 3.199 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1588, allocations: 24 kB / 0.6333 GB, free: 3.176 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.922e-05/0.1588, allocations: 15.92 kB / 0.6333 GB, free: 3.16 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.1589, allocations: 23.86 kB / 0.6333 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1589, allocations: 4 kB / 0.6333 GB, free: 3.133 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.068e-05/0.159, allocations: 31.97 kB / 0.6333 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.159, allocations: 8 kB / 0.6333 GB, free: 3.094 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.1591, allocations: 31.84 kB / 0.6334 GB, free: 3.062 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.1592, allocations: 55.88 kB / 0.6334 GB, free: 3.008 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1592, allocations: 0 / 0.6334 GB, free: 3.008 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1592, allocations: 0 / 0.6334 GB, free: 3.008 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1592, allocations: 3.938 kB / 0.6334 GB, free: 3.004 MB / 478.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.0004873/0.1597, allocations: 355.1 kB / 0.6338 GB, free: 2.609 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.1598, allocations: 12.03 kB / 0.6338 GB, free: 2.598 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.1598, allocations: 38.69 kB / 0.6338 GB, free: 2.551 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.1609, allocations: 216.5 kB / 0.634 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.161, allocations: 180.2 kB / 0.6342 GB, free: 2.125 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1611, allocations: 384 / 0.6342 GB, free: 2.125 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.1611, allocations: 4.375 kB / 0.6342 GB, free: 2.121 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.1616, allocations: 194 kB / 0.6344 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1617, allocations: 3.938 kB / 0.6344 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.1617, allocations: 4 kB / 0.6344 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.1617, allocations: 0 / 0.6344 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007755/0.1625, allocations: 283.6 kB / 0.6347 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009269/0.1634, allocations: 437.3 kB / 0.6351 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.1644, allocations: 282.2 kB / 0.6353 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.1648, allocations: 100.8 kB / 0.6354 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1648, allocations: 0 / 0.6354 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1648, allocations: 38.56 kB / 0.6355 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1648, allocations: 3.938 kB / 0.6355 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.001098/0.166, allocations: 309.3 kB / 0.6358 GB, free: 428 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.166, allocations: 51.41 kB / 0.6358 GB, free: 364 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/0.1661, allocations: 121.8 kB / 0.6359 GB, free: 232 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.1661, allocations: 25.7 kB / 0.636 GB, free: 200 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.1662, allocations: 92.08 kB / 0.6361 GB, free: 104 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.1662, allocations: 7.812 kB / 0.6361 GB, free: 96 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.1663, allocations: 25.7 kB / 0.6361 GB, free: 64 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1664, allocations: 318.8 kB / 0.6364 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.1667, allocations: 91.88 kB / 0.6365 GB, free: 15.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.1671, allocations: 99.86 kB / 0.6366 GB, free: 15.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005953/0.1677, allocations: 172.6 kB / 0.6367 GB, free: 15.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1677, allocations: 0 / 0.6367 GB, free: 15.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006728/0.1683, allocations: 213.5 kB / 0.6369 GB, free: 15.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1684, allocations: 5.781 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1684, allocations: 0 / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1684, allocations: 3.938 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.1686, allocations: 39.94 kB / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1687, allocations: 7.938 kB / 0.637 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.1689, allocations: 27.95 kB / 0.637 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1689, allocations: 0 / 0.637 GB, free: 15.09 MB / 494.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 0.0001379/0.169, allocations: 121.8 kB / 0.6371 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.1691, allocations: 11.84 kB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.492e-05/0.1691, allocations: 7.906 kB / 0.6372 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.1691, allocations: 0 / 0.6372 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1691, allocations: 4 kB / 0.6372 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1691, allocations: 0 / 0.6372 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.1694, allocations: 213.6 kB / 0.6374 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1694, allocations: 0 / 0.6374 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.1696, allocations: 39.94 kB / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1696, allocations: 0 / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.1697, allocations: 0 / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1697, allocations: 0 / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1697, allocations: 0 / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007617/0.1704, allocations: 315.2 kB / 0.6377 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.1705, allocations: 85.09 kB / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.1705, allocations: 4 kB / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.1707, allocations: 27.95 kB / 0.6378 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.1708, allocations: 4 kB / 0.6378 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1708, allocations: 3.938 kB / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.535e-05/0.1709, allocations: 91.27 kB / 0.6379 GB, free: 14.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1709, allocations: 4 kB / 0.6379 GB, free: 14.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.1711, allocations: 19.94 kB / 0.6379 GB, free: 14.05 MB / 494.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.001064/0.1722, allocations: 0.8333 MB / 0.6387 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007241/0.1729, allocations: 204.1 kB / 0.6389 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.173, allocations: 0 / 0.6389 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.1733, allocations: 99.88 kB / 0.639 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.1736, allocations: 4.469 kB / 0.639 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.1769, allocations: 1.848 MB / 0.6408 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.1773, allocations: 0.6963 MB / 0.6415 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.005e-05/0.1774, allocations: 12 kB / 0.6415 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.1774, allocations: 23.42 kB / 0.6416 GB, free: 10.21 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1775, allocations: 0 / 0.6416 GB, free: 10.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.1954, allocations: 1.978 MB / 0.6435 GB, free: 8.293 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.589/7.785, allocations: 11.86 kB / 0.6435 GB, free: 8.281 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)