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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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.0009259/0.000926, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001149/0.001149, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9861/0.9861, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 12 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1772, allocations: 83.41 MB / 0.5973 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.001735/0.179, allocations: 1.167 MB / 0.5985 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003364/0.1794, allocations: 140.4 kB / 0.5986 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.1794, allocations: 0 / 0.5986 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/0.1795, allocations: 0 / 0.5986 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.275e-05/0.1795, allocations: 19.92 kB / 0.5986 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.1797, allocations: 19.95 kB / 0.5987 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.837e-05/0.1798, allocations: 16 kB / 0.5987 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1799, allocations: 23.97 kB / 0.5987 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.395e-05/0.18, allocations: 11.92 kB / 0.5987 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.307e-05/0.18, allocations: 15.94 kB / 0.5987 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1801, allocations: 0 / 0.5987 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.413e-05/0.1801, allocations: 35.91 kB / 0.5988 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.1802, allocations: 7.922 kB / 0.5988 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.1802, allocations: 33.7 kB / 0.5988 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.594e-05/0.1803, allocations: 35.92 kB / 0.5988 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.1803, allocations: 4 kB / 0.5988 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1803, allocations: 0 / 0.5988 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.1803, allocations: 0 / 0.5988 GB, free: 6.258 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.000443/0.1808, allocations: 363.5 kB / 0.5992 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1808, allocations: 8.031 kB / 0.5992 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.087e-05/0.1809, allocations: 38.56 kB / 0.5992 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.182, allocations: 243.5 kB / 0.5995 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.1821, allocations: 175 kB / 0.5996 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1822, allocations: 3.938 kB / 0.5996 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.1822, allocations: 4 kB / 0.5996 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005571/0.1828, allocations: 209.5 kB / 0.5998 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1828, allocations: 0 / 0.5998 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1828, allocations: 0 / 0.5998 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1828, allocations: 4 kB / 0.5998 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008649/0.1837, allocations: 323.6 kB / 0.6001 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000958/0.1846, allocations: 457.3 kB / 0.6006 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.1858, allocations: 338.1 kB / 0.6009 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1858, allocations: 4.062 kB / 0.6009 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.1858, allocations: 38.52 kB / 0.6009 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1858, allocations: 0 / 0.6009 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001188/0.187, allocations: 373.2 kB / 0.6013 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.1871, allocations: 51.41 kB / 0.6014 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1872, allocations: 122 kB / 0.6015 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1872, allocations: 29.7 kB / 0.6015 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.1873, allocations: 88.12 kB / 0.6016 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.1873, allocations: 15.84 kB / 0.6016 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-06/0.1873, allocations: 0 / 0.6016 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1875, allocations: 310.8 kB / 0.6019 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.1878, allocations: 119.9 kB / 0.602 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.1882, allocations: 111.9 kB / 0.6021 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.1885, allocations: 103.9 kB / 0.6022 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1885, allocations: 0 / 0.6022 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007699/0.1893, allocations: 261.3 kB / 0.6025 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1893, allocations: 7.953 kB / 0.6025 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1894, allocations: 0 / 0.6025 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1894, allocations: 4 kB / 0.6025 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.1896, allocations: 39.94 kB / 0.6025 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1897, allocations: 0 / 0.6025 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.1899, allocations: 39.95 kB / 0.6025 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1899, allocations: 4 kB / 0.6026 GB, free: 2.223 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.583e-05/0.19, allocations: 117.8 kB / 0.6027 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.19, allocations: 3.906 kB / 0.6027 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.1901, allocations: 15.86 kB / 0.6027 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1901, allocations: 0 / 0.6027 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1901, allocations: 0 / 0.6027 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1901, allocations: 0 / 0.6027 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.1903, allocations: 205.6 kB / 0.6029 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1903, allocations: 0 / 0.6029 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.1906, allocations: 48.31 kB / 0.6029 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1906, allocations: 4 kB / 0.6029 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1906, allocations: 3.953 kB / 0.6029 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1906, allocations: 4 kB / 0.6029 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1906, allocations: 3.938 kB / 0.6029 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008028/0.1914, allocations: 347.2 kB / 0.6033 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.1915, allocations: 85 kB / 0.6034 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.1915, allocations: 7.938 kB / 0.6034 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.1917, allocations: 39.91 kB / 0.6034 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.1918, allocations: 8 kB / 0.6034 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1918, allocations: 0 / 0.6034 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.914e-05/0.1919, allocations: 95.27 kB / 0.6035 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1919, allocations: 0 / 0.6035 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002297/0.1921, allocations: 12 kB / 0.6035 GB, free: 1.141 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001118/0.1932, allocations: 0.8763 MB / 0.6044 GB, free: 244 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000744/0.194, allocations: 236.2 kB / 0.6046 GB, free: 8 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.194, allocations: 0 / 0.6046 GB, free: 8 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.3476/0.5416, allocations: 115.9 kB / 0.6047 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.5419, allocations: 5.625 kB / 0.6047 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.5443, allocations: 0.9101 MB / 0.6056 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.5445, allocations: 0.6958 MB / 0.6063 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.926e-05/0.5446, allocations: 14.8 kB / 0.6063 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.5446, allocations: 17.27 kB / 0.6063 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/0.5446, allocations: 3.625 kB / 0.6063 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01101/0.5557, allocations: 1.637 MB / 0.6079 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.5559, allocations: 177.1 kB / 0.6081 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.222, allocations: 0 / 0.6081 GB, free: 39.29 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/linux/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) Environment - environmentSimulation: