Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildSysPro_BuildSysPro_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.001809/0.001809, allocations: 108 kB / 15.6 MB, free: 132 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.001853/0.001853, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.47/1.47, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9937/0.9937, allocations: 143 MB / 433.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 63.91 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.163, allocations: 82.04 MB / 0.5944 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.00298/0.1661, allocations: 1.464 MB / 0.5958 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004821/0.1666, allocations: 132.4 kB / 0.5959 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.1666, allocations: 4 kB / 0.596 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.885e-05/0.1667, allocations: 7.922 kB / 0.596 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.66e-05/0.1668, allocations: 3.938 kB / 0.596 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.1671, allocations: 35.89 kB / 0.596 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.1672, allocations: 35.92 kB / 0.596 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.1674, allocations: 27.98 kB / 0.5961 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.431e-05/0.1674, allocations: 15.94 kB / 0.5961 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.1675, allocations: 19.91 kB / 0.5961 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1675, allocations: 11.88 kB / 0.5961 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.811e-05/0.1676, allocations: 39.97 kB / 0.5961 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.1676, allocations: 7.984 kB / 0.5962 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.1677, allocations: 15.88 kB / 0.5962 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.1678, allocations: 67.84 kB / 0.5962 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1678, allocations: 0 / 0.5962 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.011e-06/0.1678, allocations: 0 / 0.5962 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.1678, allocations: 0 / 0.5962 GB, free: 7.605 MB / 0.4981 GB 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.0004244/0.1683, allocations: 355.7 kB / 0.5966 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1683, allocations: 12.02 kB / 0.5966 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.1684, allocations: 38.75 kB / 0.5966 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.1695, allocations: 208.5 kB / 0.5968 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.1696, allocations: 180.2 kB / 0.597 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1696, allocations: 4.375 kB / 0.597 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.1696, allocations: 384 / 0.597 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005617/0.1702, allocations: 198 kB / 0.5972 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1702, allocations: 3.938 kB / 0.5972 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.1702, allocations: 0 / 0.5972 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1702, allocations: 0 / 0.5972 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008366/0.1711, allocations: 287.6 kB / 0.5975 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008556/0.172, allocations: 437.3 kB / 0.5979 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.173, allocations: 290.3 kB / 0.5982 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.1734, allocations: 100.7 kB / 0.5982 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1734, allocations: 0 / 0.5982 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.1735, allocations: 30.56 kB / 0.5983 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1735, allocations: 0 / 0.5983 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001154/0.1746, allocations: 309.3 kB / 0.5986 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1747, allocations: 59.41 kB / 0.5986 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.654e-05/0.1748, allocations: 109.8 kB / 0.5987 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1748, allocations: 33.69 kB / 0.5988 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.1749, allocations: 92.14 kB / 0.5989 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.1749, allocations: 15.75 kB / 0.5989 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.175, allocations: 18.08 kB / 0.5989 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.1751, allocations: 318.8 kB / 0.5992 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.1754, allocations: 91.88 kB / 0.5993 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.1758, allocations: 99.88 kB / 0.5994 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006713/0.1765, allocations: 180.5 kB / 0.5995 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1765, allocations: 0 / 0.5995 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007392/0.1772, allocations: 209.5 kB / 0.5997 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1773, allocations: 8 kB / 0.5998 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1773, allocations: 0 / 0.5998 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1773, allocations: 0 / 0.5998 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.1776, allocations: 31.95 kB / 0.5998 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1776, allocations: 7.984 kB / 0.5998 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.1778, allocations: 31.86 kB / 0.5998 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.1778, allocations: 7.984 kB / 0.5998 GB, free: 3.68 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.564e-05/0.1779, allocations: 113.8 kB / 0.5999 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.1779, allocations: 0 / 0.5999 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.178, allocations: 23.89 kB / 0.6 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.178, allocations: 0 / 0.6 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.178, allocations: 0 / 0.6 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.178, allocations: 3.938 kB / 0.6 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.1782, allocations: 209.5 kB / 0.6002 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1782, allocations: 0 / 0.6002 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.1785, allocations: 39.88 kB / 0.6002 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1785, allocations: 0 / 0.6002 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1785, allocations: 0 / 0.6002 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1785, allocations: 4 kB / 0.6002 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1785, allocations: 0 / 0.6002 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008131/0.1793, allocations: 311.5 kB / 0.6005 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.1794, allocations: 85.16 kB / 0.6006 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.1794, allocations: 7.984 kB / 0.6006 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.1797, allocations: 31.94 kB / 0.6006 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.1797, allocations: 0 / 0.6006 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.1797, allocations: 0 / 0.6006 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.174e-05/0.1798, allocations: 95.27 kB / 0.6007 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1798, allocations: 0 / 0.6007 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002425/0.18, allocations: 19.94 kB / 0.6007 GB, free: 2.652 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.001049/0.1811, allocations: 0.8452 MB / 0.6016 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007773/0.1819, allocations: 191.8 kB / 0.6017 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1819, allocations: 3.938 kB / 0.6017 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003668/0.1823, allocations: 111.8 kB / 0.6019 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.1825, allocations: 0 / 0.6019 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2405/0.423, allocations: 1.845 MB / 0.6037 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.4231, allocations: 0.6871 MB / 0.6043 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.4233, allocations: 18.81 kB / 0.6043 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.548e-05/0.4233, allocations: 15.59 kB / 0.6044 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/0.4234, allocations: 0.5938 kB / 0.6044 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.4408, allocations: 1.92 MB / 0.6062 GB, free: 42.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.047/8.488, allocations: 11.61 kB / 0.6062 GB, free: 42.42 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)