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.005468/0.005468, allocations: 102.7 kB / 15.73 MB, free: 6.059 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.001302/0.001302, allocations: 198 kB / 16.68 MB, free: 5.977 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.9328/0.9328, allocations: 143 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 66.3 kB / 0.5951 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1648, allocations: 82.02 MB / 0.6752 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002808/0.1676, allocations: 1.479 MB / 0.6766 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004145/0.1681, allocations: 140.4 kB / 0.6767 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.1681, allocations: 4 kB / 0.6767 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.289e-05/0.1682, allocations: 3.938 kB / 0.6767 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.785e-05/0.1683, allocations: 7.938 kB / 0.6768 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.1685, allocations: 27.91 kB / 0.6768 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.826e-05/0.1686, allocations: 43.84 kB / 0.6768 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1688, allocations: 23.98 kB / 0.6768 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.019e-05/0.1688, allocations: 19.92 kB / 0.6769 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.1689, allocations: 19.92 kB / 0.6769 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.1689, allocations: 4 kB / 0.6769 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-05/0.169, allocations: 35.97 kB / 0.6769 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.169, allocations: 7.938 kB / 0.6769 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.1691, allocations: 15.92 kB / 0.6769 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1692, allocations: 63.8 kB / 0.677 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1692, allocations: 0 / 0.677 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1692, allocations: 0 / 0.677 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.545e-06/0.1692, allocations: 0 / 0.677 GB, free: 8.934 MB / 0.5137 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.0004463/0.1697, allocations: 367.1 kB / 0.6774 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.1697, allocations: 8.031 kB / 0.6774 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.149e-05/0.1698, allocations: 34.75 kB / 0.6774 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.1708, allocations: 220.4 kB / 0.6776 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.171, allocations: 168.3 kB / 0.6778 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.171, allocations: 8.375 kB / 0.6778 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.171, allocations: 384 / 0.6778 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/0.1716, allocations: 198 kB / 0.678 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1716, allocations: 3.938 kB / 0.678 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.1716, allocations: 4 kB / 0.678 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1716, allocations: 4 kB / 0.678 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007749/0.1724, allocations: 275.6 kB / 0.6782 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000878/0.1733, allocations: 445 kB / 0.6787 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009906/0.1743, allocations: 286.3 kB / 0.6789 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.1746, allocations: 100.7 kB / 0.679 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.1747, allocations: 0 / 0.679 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.1747, allocations: 30.56 kB / 0.6791 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1747, allocations: 4 kB / 0.6791 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.001103/0.1758, allocations: 313.3 kB / 0.6794 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.1759, allocations: 59.41 kB / 0.6794 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.176, allocations: 113.8 kB / 0.6795 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.176, allocations: 29.7 kB / 0.6796 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.1761, allocations: 88.08 kB / 0.6796 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.1761, allocations: 15.8 kB / 0.6797 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.1762, allocations: 17.72 kB / 0.6797 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1763, allocations: 322.8 kB / 0.68 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.1767, allocations: 95.88 kB / 0.6801 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.177, allocations: 99.86 kB / 0.6802 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005986/0.1776, allocations: 172.6 kB / 0.6803 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1776, allocations: 4 kB / 0.6803 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006844/0.1783, allocations: 209.5 kB / 0.6805 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1784, allocations: 12 kB / 0.6805 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1784, allocations: 0 / 0.6805 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1784, allocations: 0 / 0.6805 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.1787, allocations: 31.94 kB / 0.6806 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1787, allocations: 4.375 kB / 0.6806 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.1789, allocations: 23.95 kB / 0.6806 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1789, allocations: 4 kB / 0.6806 GB, free: 5.004 MB / 0.5137 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.964e-05/0.179, allocations: 125.8 kB / 0.6807 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.179, allocations: 7.844 kB / 0.6807 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.056e-05/0.1791, allocations: 11.91 kB / 0.6807 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.1791, allocations: 0 / 0.6807 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.1791, allocations: 0 / 0.6807 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1791, allocations: 3.938 kB / 0.6807 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.1793, allocations: 217.5 kB / 0.681 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1794, allocations: 0 / 0.681 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.1796, allocations: 39.94 kB / 0.681 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1796, allocations: 0 / 0.681 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1796, allocations: 0 / 0.681 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1796, allocations: 0 / 0.681 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1796, allocations: 0 / 0.681 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007262/0.1803, allocations: 319.1 kB / 0.6813 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.1804, allocations: 81.11 kB / 0.6814 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1804, allocations: 0 / 0.6814 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.1806, allocations: 27.95 kB / 0.6814 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.1807, allocations: 4 kB / 0.6814 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.1807, allocations: 3.984 kB / 0.6814 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.178e-05/0.1807, allocations: 103.2 kB / 0.6815 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1808, allocations: 0 / 0.6815 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002314/0.181, allocations: 15.94 kB / 0.6815 GB, free: 3.965 MB / 0.5137 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.0009903/0.182, allocations: 0.8372 MB / 0.6823 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007153/0.1827, allocations: 199.7 kB / 0.6825 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1827, allocations: 3.938 kB / 0.6825 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.1831, allocations: 92.2 kB / 0.6826 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.1833, allocations: 9.875 kB / 0.6826 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/0.1866, allocations: 1.845 MB / 0.6844 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.1869, allocations: 0.6887 MB / 0.6851 GB, free: 172 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.024e-05/0.187, allocations: 20.23 kB / 0.6851 GB, free: 152 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.849e-05/0.187, allocations: 19.38 kB / 0.6851 GB, free: 132 kB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.1871, allocations: 0 / 0.6851 GB, free: 132 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.2066, allocations: 1.994 MB / 0.6871 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.35/7.557, allocations: 12.88 kB / 0.6871 GB, free: 14.21 MB / 0.5294 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)