Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential",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.0009352/0.0009351, allocations: 99.16 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.0008949/0.0008949, allocations: 177.3 kB / 15.95 MB, free: 216 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.409/1.409, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.051/1.051, allocations: 143.3 MB / 434.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003253, allocations: 8 kB / 0.5159 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.171, allocations: 83.41 MB / 0.5974 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.001484/0.1725, allocations: 1.143 MB / 0.5985 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003165/0.1728, allocations: 192.3 kB / 0.5987 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.1729, allocations: 0 / 0.5987 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.1729, allocations: 0 / 0.5987 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.668e-05/0.1729, allocations: 0 / 0.5987 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.1731, allocations: 27.91 kB / 0.5987 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.933e-05/0.1732, allocations: 19.91 kB / 0.5987 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.249e-05/0.1732, allocations: 11.94 kB / 0.5987 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.474e-05/0.1733, allocations: 11.98 kB / 0.5987 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.21e-05/0.1733, allocations: 7.938 kB / 0.5987 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.527e-06/0.1733, allocations: 0 / 0.5987 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.57e-05/0.1734, allocations: 27.97 kB / 0.5988 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.1734, allocations: 3.984 kB / 0.5988 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.1735, allocations: 29.7 kB / 0.5988 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.759e-05/0.1735, allocations: 27.94 kB / 0.5988 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.1735, allocations: 0 / 0.5988 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1735, allocations: 0 / 0.5988 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.1736, allocations: 4 kB / 0.5988 GB, free: 6.184 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003711/0.1739, allocations: 347.5 kB / 0.5991 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.174, allocations: 12.03 kB / 0.5992 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.174, allocations: 30.56 kB / 0.5992 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.935e-05/0.174, allocations: 0 / 0.5992 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.999e-05/0.1741, allocations: 167 kB / 0.5993 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-06/0.1742, allocations: 3.938 kB / 0.5994 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-06/0.1742, allocations: 4 kB / 0.5994 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1743, allocations: 53.67 kB / 0.5994 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.1744, allocations: 0 / 0.5994 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1744, allocations: 0 / 0.5994 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1744, allocations: 4 kB / 0.5994 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.1746, allocations: 51.94 kB / 0.5995 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.1748, allocations: 248.9 kB / 0.5997 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.175, allocations: 50.53 kB / 0.5997 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.739e-05/0.1751, allocations: 81.17 kB / 0.5998 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.1751, allocations: 30.56 kB / 0.5999 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1751, allocations: 0 / 0.5999 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003522/0.1755, allocations: 105.5 kB / 0.6 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.1755, allocations: 51.41 kB / 0.6 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.271e-05/0.1756, allocations: 113.7 kB / 0.6001 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1756, allocations: 29.64 kB / 0.6001 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.1757, allocations: 84.14 kB / 0.6002 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.1757, allocations: 3.906 kB / 0.6002 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.1757, allocations: 4.125 kB / 0.6002 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1758, allocations: 314.8 kB / 0.6005 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.1759, allocations: 23.97 kB / 0.6006 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.991e-05/0.176, allocations: 19.98 kB / 0.6006 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.921e-05/0.1761, allocations: 24.05 kB / 0.6006 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1761, allocations: 0 / 0.6006 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001901/0.1763, allocations: 85.59 kB / 0.6007 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1763, allocations: 8 kB / 0.6007 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1763, allocations: 0 / 0.6007 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.1763, allocations: 0 / 0.6007 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.493e-05/0.1764, allocations: 11.98 kB / 0.6007 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1764, allocations: 3.984 kB / 0.6007 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.1765, allocations: 11.95 kB / 0.6007 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1765, allocations: 3.938 kB / 0.6007 GB, free: 4 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 (2): * Single equations (assignments): 2 * 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 6.925e-05/0.1766, allocations: 119.9 kB / 0.6008 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.1766, allocations: 4 kB / 0.6008 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.1768, allocations: 80.78 kB / 0.6009 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1768, allocations: 0 / 0.6009 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1768, allocations: 4.031 kB / 0.6009 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.1769, allocations: 0 / 0.6009 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.177, allocations: 161.6 kB / 0.6011 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.177, allocations: 0 / 0.6011 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.1771, allocations: 8 kB / 0.6011 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1771, allocations: 4 kB / 0.6011 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1771, allocations: 0 / 0.6011 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.1771, allocations: 0 / 0.6011 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1771, allocations: 3.984 kB / 0.6011 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.1773, allocations: 179.3 kB / 0.6013 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.1774, allocations: 85.09 kB / 0.6013 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.1774, allocations: 0 / 0.6013 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.1775, allocations: 8.031 kB / 0.6013 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.1775, allocations: 7.984 kB / 0.6013 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1775, allocations: 0 / 0.6013 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.744e-05/0.1776, allocations: 87.47 kB / 0.6014 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1776, allocations: 0 / 0.6014 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002207/0.1778, allocations: 8 kB / 0.6014 GB, free: 3.16 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 (2): * Single equations (assignments): 2 * 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.0005264/0.1783, allocations: 0.7202 MB / 0.6021 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001945/0.1785, allocations: 48 kB / 0.6022 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1786, allocations: 0 / 0.6022 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.255e-05/0.1786, allocations: 23.98 kB / 0.6022 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.1788, allocations: 12.11 kB / 0.6022 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.1792, allocations: 142.3 kB / 0.6024 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.1794, allocations: 0.6809 MB / 0.603 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.1794, allocations: 0 / 0.603 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.1795, allocations: 19.38 kB / 0.603 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1795, allocations: 0 / 0.603 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01003/0.1895, allocations: 1.168 MB / 0.6042 GB, free: 396 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/0.1897, allocations: 191 kB / 0.6044 GB, free: 152 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/1.85, allocations: 0 / 0.6044 GB, free: 152 kB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) Environment - environmentSimulation: