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.0009989/0.0009989, allocations: 93.66 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 178.9 kB / 16.92 MB, free: 6.68 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.427/1.427, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.711/0.711, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.0003336, allocations: 11.98 kB / 496 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1613, allocations: 77.53 MB / 0.56 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002008/0.1634, allocations: 1.178 MB / 0.5612 GB, free: 7.742 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005599/0.164, allocations: 140.4 kB / 0.5613 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.1641, allocations: 0 / 0.5613 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.843e-05/0.1641, allocations: 7.984 kB / 0.5613 GB, free: 7.594 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.1642, allocations: 7.938 kB / 0.5613 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.1646, allocations: 23.97 kB / 0.5614 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.1647, allocations: 39.92 kB / 0.5614 GB, free: 7.523 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.1649, allocations: 23.92 kB / 0.5614 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.137e-05/0.165, allocations: 11.92 kB / 0.5614 GB, free: 7.488 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.633e-05/0.1651, allocations: 11.94 kB / 0.5614 GB, free: 7.477 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.1651, allocations: 4 kB / 0.5615 GB, free: 7.473 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.1653, allocations: 35.95 kB / 0.5615 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.1653, allocations: 7.922 kB / 0.5615 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.1654, allocations: 41.58 kB / 0.5615 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.1656, allocations: 59.84 kB / 0.5616 GB, free: 7.324 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1656, allocations: 0 / 0.5616 GB, free: 7.324 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.1656, allocations: 0 / 0.5616 GB, free: 7.324 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1656, allocations: 4 kB / 0.5616 GB, free: 7.32 MB / 430.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.0006533/0.1663, allocations: 351.7 kB / 0.5619 GB, free: 6.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.648e-05/0.1664, allocations: 8.031 kB / 0.5619 GB, free: 6.918 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.761e-05/0.1664, allocations: 46.73 kB / 0.562 GB, free: 6.863 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.1677, allocations: 240.5 kB / 0.5622 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.1679, allocations: 172.3 kB / 0.5624 GB, free: 6.422 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1679, allocations: 4.375 kB / 0.5624 GB, free: 6.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.1679, allocations: 4.375 kB / 0.5624 GB, free: 6.414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006402/0.1686, allocations: 214 kB / 0.5626 GB, free: 6.199 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1686, allocations: 3.938 kB / 0.5626 GB, free: 6.195 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.1686, allocations: 4 kB / 0.5626 GB, free: 6.191 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.1687, allocations: 0 / 0.5626 GB, free: 6.191 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009325/0.1696, allocations: 315.6 kB / 0.5629 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009743/0.1706, allocations: 461.1 kB / 0.5633 GB, free: 5.383 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.1719, allocations: 346.1 kB / 0.5637 GB, free: 5.035 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/0.1723, allocations: 120.8 kB / 0.5638 GB, free: 4.914 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.1723, allocations: 4 kB / 0.5638 GB, free: 4.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1723, allocations: 30.56 kB / 0.5638 GB, free: 4.871 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.1724, allocations: 0 / 0.5638 GB, free: 4.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.001341/0.1737, allocations: 365.2 kB / 0.5642 GB, free: 4.508 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.1738, allocations: 63.28 kB / 0.5642 GB, free: 4.434 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.1739, allocations: 117.8 kB / 0.5643 GB, free: 4.309 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.1739, allocations: 29.7 kB / 0.5644 GB, free: 4.273 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.174, allocations: 92.12 kB / 0.5645 GB, free: 4.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.174, allocations: 7.844 kB / 0.5645 GB, free: 4.172 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.1741, allocations: 13.72 kB / 0.5645 GB, free: 4.152 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1742, allocations: 322.8 kB / 0.5648 GB, free: 3.828 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.1746, allocations: 111.9 kB / 0.5649 GB, free: 3.719 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.175, allocations: 111.9 kB / 0.565 GB, free: 3.609 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007161/0.1757, allocations: 212.9 kB / 0.5652 GB, free: 3.398 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1757, allocations: 0 / 0.5652 GB, free: 3.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008096/0.1765, allocations: 261.3 kB / 0.5654 GB, free: 3.137 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1766, allocations: 8 kB / 0.5655 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.1766, allocations: 3.984 kB / 0.5655 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1766, allocations: 0 / 0.5655 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.1769, allocations: 43.94 kB / 0.5655 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1769, allocations: 0 / 0.5655 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.1771, allocations: 39.95 kB / 0.5655 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1771, allocations: 0 / 0.5655 GB, free: 3.043 MB / 430.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.0001333/0.1773, allocations: 121.8 kB / 0.5657 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.1773, allocations: 7.906 kB / 0.5657 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.1774, allocations: 11.91 kB / 0.5657 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1774, allocations: 4 kB / 0.5657 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1774, allocations: 0 / 0.5657 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1774, allocations: 0 / 0.5657 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.1777, allocations: 209.5 kB / 0.5659 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1777, allocations: 0 / 0.5659 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.1779, allocations: 47.88 kB / 0.5659 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1779, allocations: 4 kB / 0.5659 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.178, allocations: 0 / 0.5659 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.178, allocations: 0 / 0.5659 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.178, allocations: 0 / 0.5659 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008909/0.1789, allocations: 359.5 kB / 0.5663 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.1789, allocations: 81.02 kB / 0.5663 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.179, allocations: 0 / 0.5663 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.1792, allocations: 39.95 kB / 0.5664 GB, free: 2.078 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.1793, allocations: 11.94 kB / 0.5664 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.1793, allocations: 7.984 kB / 0.5664 GB, free: 2.059 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.917e-05/0.1793, allocations: 91.27 kB / 0.5665 GB, free: 1.969 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1793, allocations: 0 / 0.5665 GB, free: 1.969 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.1796, allocations: 15.94 kB / 0.5665 GB, free: 1.953 MB / 430.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.001172/0.1808, allocations: 0.8723 MB / 0.5674 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008298/0.1816, allocations: 239.7 kB / 0.5676 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1816, allocations: 0 / 0.5676 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003948/0.182, allocations: 119.9 kB / 0.5677 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.1823, allocations: 4 kB / 0.5677 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/0.186, allocations: 1.963 MB / 0.5696 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.1862, allocations: 0.6965 MB / 0.5703 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.558e-05/0.1863, allocations: 15.98 kB / 0.5703 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.986e-05/0.1864, allocations: 23.36 kB / 0.5703 GB, free: 13.9 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1864, allocations: 0 / 0.5703 GB, free: 13.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.2036, allocations: 1.657 MB / 0.572 GB, free: 12.37 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.2039, allocations: 182 kB / 0.5721 GB, free: 12.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.004, allocations: 4 kB / 0.5721 GB, free: 12.11 MB / 446.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)