Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008583/0.0008583, allocations: 84.86 kB / 21.62 MB, free: 2.836 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008821/0.0008821, allocations: 163.2 kB / 25.05 MB, free: 9.148 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9615/0.9615, allocations: 177.1 MB / 205.5 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.94/1.94, allocations: 389.6 MB / 0.6363 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.7762 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.303e-05/3.519e-05, allocations: 6.281 kB / 0.7762 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.002084/0.002119, allocations: 0.6613 MB / 0.7768 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002971/0.002416, allocations: 52.08 kB / 0.7769 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.002435, allocations: 1.312 kB / 0.7769 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.002456, allocations: 0 / 0.7769 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.984e-06/0.002463, allocations: 0 / 0.7769 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.002703, allocations: 11.92 kB / 0.7769 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.932e-05/0.002752, allocations: 4 kB / 0.7769 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.002796, allocations: 0 / 0.7769 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.01e-05/0.002826, allocations: 0 / 0.7769 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.431e-05/0.002851, allocations: 4.875 kB / 0.7769 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.002863, allocations: 0.9062 kB / 0.7769 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.002996, allocations: 23.97 kB / 0.7769 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.003008, allocations: 0.7812 kB / 0.7769 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.194e-05/0.00302, allocations: 3.984 kB / 0.7769 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.983e-05/0.003119, allocations: 25.75 kB / 0.777 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003122, allocations: 0 / 0.777 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.193e-06/0.003123, allocations: 0 / 0.777 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.003127, allocations: 1.312 kB / 0.777 GB, free: 4.473 MB / 0.7292 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.0002303/0.003357, allocations: 210 kB / 0.7772 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.0034, allocations: 9.344 kB / 0.7772 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002274/0.003628, allocations: 17.64 kB / 0.7772 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.049e-05/0.003708, allocations: 105.8 kB / 0.7773 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.003722, allocations: 0.9688 kB / 0.7773 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.003732, allocations: 5.438 kB / 0.7773 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.003856, allocations: 46.95 kB / 0.7773 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.003866, allocations: 5.109 kB / 0.7773 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.003873, allocations: 384 / 0.7773 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.00388, allocations: 384 / 0.7773 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.405e-05/0.003904, allocations: 9.719 kB / 0.7773 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.115e-05/0.003995, allocations: 57.03 kB / 0.7774 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.36e-05/0.004039, allocations: 24.66 kB / 0.7774 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.326e-05/0.004052, allocations: 8.797 kB / 0.7774 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.004067, allocations: 0.7812 kB / 0.7774 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.004094, allocations: 38.61 kB / 0.7775 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.004096, allocations: 1.438 kB / 0.7775 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001174/0.004213, allocations: 29.7 kB / 0.7775 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.00425, allocations: 52.28 kB / 0.7775 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.666e-05/0.004286, allocations: 90.39 kB / 0.7776 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.004299, allocations: 26.83 kB / 0.7777 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.004328, allocations: 84.14 kB / 0.7777 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.004359, allocations: 0 / 0.7777 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.004389, allocations: 11.44 kB / 0.7778 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.004488, allocations: 322.8 kB / 0.7781 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.004504, allocations: 3.938 kB / 0.7781 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-06/0.004513, allocations: 0.875 kB / 0.7781 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.464e-05/0.004548, allocations: 9.609 kB / 0.7781 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.00455, allocations: 1.594 kB / 0.7781 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.49e-05/0.004615, allocations: 37.69 kB / 0.7781 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.00463, allocations: 8 kB / 0.7781 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.004637, allocations: 0.75 kB / 0.7781 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.004646, allocations: 0 / 0.7781 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.85e-05/0.004715, allocations: 0.9688 kB / 0.7781 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.004717, allocations: 0.6562 kB / 0.7781 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.004736, allocations: 8.281 kB / 0.7781 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.004741, allocations: 0.9688 kB / 0.7781 GB, free: 3.133 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.635e-05/0.004808, allocations: 110.7 kB / 0.7782 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-06/0.004818, allocations: 7.984 kB / 0.7782 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.004842, allocations: 8.438 kB / 0.7783 GB, free: 3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.004844, allocations: 0.7656 kB / 0.7783 GB, free: 3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-06/0.004845, allocations: 0 / 0.7783 GB, free: 3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.004848, allocations: 0 / 0.7783 GB, free: 3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.266e-05/0.004911, allocations: 66.91 kB / 0.7783 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.004915, allocations: 4 kB / 0.7783 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.004943, allocations: 0 / 0.7783 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.004945, allocations: 5.047 kB / 0.7783 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.00495, allocations: 0.875 kB / 0.7783 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.00495, allocations: 0 / 0.7783 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.004951, allocations: 4.5 kB / 0.7783 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.824e-05/0.00503, allocations: 57.78 kB / 0.7784 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.005043, allocations: 16.56 kB / 0.7784 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-06/0.00505, allocations: 3.938 kB / 0.7784 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.563e-05/0.005066, allocations: 0.5312 kB / 0.7784 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.015e-05/0.005076, allocations: 0.5 kB / 0.7784 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.005079, allocations: 1.094 kB / 0.7784 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.666e-06/0.005088, allocations: 9.453 kB / 0.7784 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.1e-08/0.005088, allocations: 1.188 kB / 0.7784 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001557/0.005244, allocations: 4 kB / 0.7784 GB, free: 2.797 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.583e-05/0.00534, allocations: 73.23 kB / 0.7785 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.316e-05/0.005413, allocations: 15.97 kB / 0.7785 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.005416, allocations: 0 / 0.7785 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-05/0.005426, allocations: 8.859 kB / 0.7785 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.979e-05/0.005485, allocations: 7.938 kB / 0.7785 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000178/0.005663, allocations: 70.44 kB / 0.7786 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.407e-05/0.005698, allocations: 64.22 kB / 0.7787 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.757e-05/0.005725, allocations: 2.781 kB / 0.7787 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.005769, allocations: 47.38 kB / 0.7787 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.00577, allocations: 0 / 0.7787 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of Templates: time 0.001915/0.007684, allocations: 290.7 kB / 0.779 GB, free: 2.18 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.7958717085421085]