Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.0009212/0.0009212, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009067/0.0009067, allocations: 165 kB / 24.17 MB, free: 328 kB / 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 1.019/1.019, allocations: 177.1 MB / 204.6 MB, free: 5.492 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 2.045/2.045, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.7752 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.97e-05, allocations: 6.25 kB / 0.7752 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001498/0.001518, allocations: 0.7102 MB / 0.7759 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008524/0.00237, allocations: 0.9194 MB / 0.7768 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.002406, allocations: 2.438 kB / 0.7768 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.002432, allocations: 0 / 0.7768 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.464e-05/0.002507, allocations: 6.672 kB / 0.7768 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.002657, allocations: 19.92 kB / 0.7769 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.503e-05/0.002742, allocations: 47.84 kB / 0.7769 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.693e-05/0.002819, allocations: 15.92 kB / 0.7769 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.739e-05/0.002907, allocations: 28.53 kB / 0.7769 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.932e-05/0.002946, allocations: 17.3 kB / 0.777 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.002968, allocations: 4 kB / 0.777 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-06/0.002976, allocations: 4 kB / 0.777 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.002995, allocations: 6.188 kB / 0.777 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.003014, allocations: 13.41 kB / 0.777 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.623e-05/0.003091, allocations: 32.44 kB / 0.777 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003092, allocations: 0.9062 kB / 0.777 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003093, allocations: 4 kB / 0.777 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.003097, allocations: 0 / 0.777 GB, free: 3.48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000289/0.003386, allocations: 244 kB / 0.7773 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.003418, allocations: 9.344 kB / 0.7773 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.003445, allocations: 8.938 kB / 0.7773 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.14e-05/0.003526, allocations: 121.7 kB / 0.7774 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.003534, allocations: 384 / 0.7774 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.003546, allocations: 4.312 kB / 0.7774 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.003651, allocations: 70.94 kB / 0.7775 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.003663, allocations: 3.844 kB / 0.7775 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.00367, allocations: 384 / 0.7775 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.003676, allocations: 384 / 0.7775 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.003695, allocations: 7.938 kB / 0.7775 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.003899, allocations: 148.3 kB / 0.7776 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.349e-05/0.003953, allocations: 30.5 kB / 0.7776 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.003969, allocations: 12.94 kB / 0.7777 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.003981, allocations: 0 / 0.7777 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.004, allocations: 30.56 kB / 0.7777 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 5.71e-07/0.004001, allocations: 0.875 kB / 0.7777 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001002/0.004101, allocations: 45.62 kB / 0.7777 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.004209, allocations: 60.16 kB / 0.7778 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.099e-05/0.00426, allocations: 114.7 kB / 0.7779 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.004269, allocations: 26.45 kB / 0.7779 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/0.004294, allocations: 84.09 kB / 0.778 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.004311, allocations: 13.08 kB / 0.778 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.004335, allocations: 21.64 kB / 0.778 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.55e-05/0.004401, allocations: 322.8 kB / 0.7783 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.00441, allocations: 0.8125 kB / 0.7783 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.648e-06/0.004419, allocations: 4 kB / 0.7783 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.517e-05/0.004445, allocations: 18.25 kB / 0.7784 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.004446, allocations: 0 / 0.7784 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.287e-05/0.004489, allocations: 41.62 kB / 0.7784 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.004499, allocations: 4 kB / 0.7784 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.004502, allocations: 0.5312 kB / 0.7784 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.004516, allocations: 9.031 kB / 0.7784 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.077e-05/0.004577, allocations: 7.984 kB / 0.7784 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.004579, allocations: 4.312 kB / 0.7784 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.004604, allocations: 5.719 kB / 0.7784 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.00461, allocations: 4 kB / 0.7784 GB, free: 1.887 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 (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 4.861e-05/0.004659, allocations: 105.8 kB / 0.7785 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.004672, allocations: 8.703 kB / 0.7785 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/0.004692, allocations: 8.328 kB / 0.7786 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.004694, allocations: 5.531 kB / 0.7786 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.004695, allocations: 0 / 0.7786 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.0047, allocations: 7.984 kB / 0.7786 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.787e-05/0.004777, allocations: 73.88 kB / 0.7786 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.004778, allocations: 0 / 0.7786 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.004802, allocations: 8.75 kB / 0.7786 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.91e-07/0.004802, allocations: 0.9688 kB / 0.7786 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.004807, allocations: 7.984 kB / 0.7787 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.004808, allocations: 0 / 0.7787 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.004809, allocations: 4.984 kB / 0.7787 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.224e-05/0.004882, allocations: 143.4 kB / 0.7788 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.004888, allocations: 3.953 kB / 0.7788 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-06/0.004896, allocations: 0.9375 kB / 0.7788 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.00493, allocations: 7.984 kB / 0.7788 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.004957, allocations: 5.406 kB / 0.7788 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.004961, allocations: 3.938 kB / 0.7788 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.505e-05/0.004976, allocations: 24.83 kB / 0.7788 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004976, allocations: 0 / 0.7788 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001121/0.005088, allocations: 5.125 kB / 0.7788 GB, free: 1.43 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 (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 6.577e-05/0.005154, allocations: 81.42 kB / 0.7789 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.629e-05/0.00521, allocations: 20.78 kB / 0.7789 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.005212, allocations: 0 / 0.7789 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.706e-05/0.005229, allocations: 9.359 kB / 0.779 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.005356, allocations: 13.19 kB / 0.779 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.005568, allocations: 129.3 kB / 0.7791 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.078e-05/0.005599, allocations: 60.23 kB / 0.7791 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.866e-05/0.005617, allocations: 5.109 kB / 0.7791 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.005663, allocations: 55.38 kB / 0.7792 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/0.005664, allocations: 0 / 0.7792 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of Templates: time 0.001996/0.00766, allocations: 0.7231 MB / 0.7799 GB, free: 328 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.082090845797211]