Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 100.2 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.001373/0.001374, 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.33/1.33, allocations: 223.2 MB / 239.9 MB, free: 5.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.969/0.969, allocations: 143.3 MB / 434.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003602, allocations: 16 kB / 0.5158 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1713, allocations: 83.41 MB / 0.5973 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.0007811/0.1721, allocations: 307 kB / 0.5976 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002422/0.1724, allocations: 47.89 kB / 0.5976 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.48e-05/0.1724, allocations: 4 kB / 0.5976 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.128e-05/0.1725, allocations: 0 / 0.5976 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.1725, allocations: 0 / 0.5976 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.1727, allocations: 11.92 kB / 0.5976 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.039e-05/0.1727, allocations: 4 kB / 0.5977 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.1728, allocations: 4 kB / 0.5977 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.747e-05/0.1728, allocations: 0 / 0.5977 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.431e-05/0.1729, allocations: 3.938 kB / 0.5977 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.1729, allocations: 0 / 0.5977 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.73e-05/0.173, allocations: 23.97 kB / 0.5977 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.963e-06/0.173, allocations: 7.984 kB / 0.5977 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.173, allocations: 25.7 kB / 0.5977 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.962e-05/0.1731, allocations: 11.98 kB / 0.5977 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.1731, allocations: 0 / 0.5977 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1731, allocations: 0 / 0.5977 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.1731, allocations: 0 / 0.5977 GB, free: 7.328 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000238/0.1734, allocations: 307.4 kB / 0.598 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1734, allocations: 8.031 kB / 0.598 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.1737, allocations: 23.95 kB / 0.5981 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.937e-05/0.1738, allocations: 163 kB / 0.5982 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1738, allocations: 4 kB / 0.5982 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.1738, allocations: 8 kB / 0.5982 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.1739, allocations: 37.67 kB / 0.5983 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.174, allocations: 0 / 0.5983 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.174, allocations: 0 / 0.5983 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.174, allocations: 0 / 0.5983 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.744e-05/0.1741, allocations: 15.92 kB / 0.5983 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.1742, allocations: 149.6 kB / 0.5984 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.056e-05/0.1743, allocations: 26.59 kB / 0.5984 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1743, allocations: 0 / 0.5984 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.1744, allocations: 30.56 kB / 0.5985 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.1744, allocations: 0 / 0.5985 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000239/0.1746, allocations: 53.67 kB / 0.5985 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.1746, allocations: 55.34 kB / 0.5986 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.267e-05/0.1747, allocations: 89.86 kB / 0.5987 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.1747, allocations: 25.7 kB / 0.5987 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.1747, allocations: 80.14 kB / 0.5988 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.1748, allocations: 0 / 0.5988 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.1748, allocations: 3.938 kB / 0.5988 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1749, allocations: 323 kB / 0.5991 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-05/0.175, allocations: 3.984 kB / 0.5991 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-05/0.175, allocations: 4 kB / 0.5991 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.238e-05/0.1751, allocations: 11.94 kB / 0.5991 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1751, allocations: 0 / 0.5991 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.00012/0.1752, allocations: 45.53 kB / 0.5991 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1752, allocations: 8 kB / 0.5991 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1752, allocations: 4.094 kB / 0.5991 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1752, allocations: 0 / 0.5991 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.325e-05/0.1753, allocations: 7.984 kB / 0.5991 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1753, allocations: 0 / 0.5991 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.271e-05/0.1754, allocations: 0 / 0.5991 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1754, allocations: 0 / 0.5991 GB, free: 5.656 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 (1): * Single equations (assignments): 1 * 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.785e-05/0.1755, allocations: 113.8 kB / 0.5993 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.1755, allocations: 4 kB / 0.5993 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.1755, allocations: 7.125 kB / 0.5993 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1755, allocations: 0 / 0.5993 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1755, allocations: 0 / 0.5993 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1755, allocations: 3.984 kB / 0.5993 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.638e-05/0.1756, allocations: 141.7 kB / 0.5994 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1756, allocations: 7.953 kB / 0.5994 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.1757, allocations: 3.984 kB / 0.5994 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1757, allocations: 0 / 0.5994 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1757, allocations: 4 kB / 0.5994 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1757, allocations: 0 / 0.5994 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1757, allocations: 0 / 0.5994 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.1759, allocations: 73.06 kB / 0.5995 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.1759, allocations: 81.06 kB / 0.5996 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.1759, allocations: 7.984 kB / 0.5996 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.427e-05/0.176, allocations: 0 / 0.5996 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.176, allocations: 3.938 kB / 0.5996 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.176, allocations: 32 / 0.5996 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.246e-05/0.176, allocations: 79.28 kB / 0.5997 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.176, allocations: 0 / 0.5997 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001777/0.1762, allocations: 4 kB / 0.5997 GB, free: 5.039 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 (1): * Single equations (assignments): 1 * 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.000122/0.1764, allocations: 95.25 kB / 0.5998 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.1765, allocations: 11.98 kB / 0.5998 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1765, allocations: 0 / 0.5998 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.448e-05/0.1765, allocations: 15.98 kB / 0.5998 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.529e-05/0.1766, allocations: 288 / 0.5998 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002147/0.1769, allocations: 90.62 kB / 0.5999 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.1771, allocations: 0.677 MB / 0.6005 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.986e-05/0.1772, allocations: 4.062 kB / 0.6005 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.1772, allocations: 11.44 kB / 0.6005 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1772, allocations: 0 / 0.6005 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of Templates: time 0.001843/0.1791, allocations: 216.2 kB / 0.6007 GB, free: 3.863 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) Environment - environmentSimulation: