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.002683/0.002683, allocations: 80.52 kB / 19.96 MB, free: 4.598 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.003157/0.003157, allocations: 173.2 kB / 23.23 MB, free: 1.324 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 1.587/1.587, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 178] 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 3.369/3.369, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] 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 2.805e-06/2.805e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.233e-05, allocations: 6.281 kB / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002662/0.002694, allocations: 0.698 MB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.004587, allocations: 0.8985 MB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.004646, allocations: 0 / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.061e-05/0.004686, allocations: 3.938 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.004788, allocations: 3.938 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.005019, allocations: 23.91 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.005151, allocations: 39.91 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.005274, allocations: 11.94 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.005392, allocations: 23.97 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.067e-05/0.005462, allocations: 19.98 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.424e-05/0.005507, allocations: 7.938 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.005519, allocations: 0 / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.621e-05/0.005545, allocations: 11.94 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.005589, allocations: 15.97 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.005753, allocations: 43.81 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.005757, allocations: 0 / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005758, allocations: 0 / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.005763, allocations: 0 / 1.003 GB, free: 11.13 MB / 0.9636 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.0008362/0.006599, allocations: 286.2 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.006653, allocations: 9.344 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.006709, allocations: 8.891 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.006907, allocations: 121.6 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.006924, allocations: 384 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.00694, allocations: 384 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.007357, allocations: 78.2 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.007371, allocations: 192 / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.007384, allocations: 384 / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.007391, allocations: 4.375 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/0.007934, allocations: 63.88 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000587/0.008521, allocations: 208.6 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.008859, allocations: 58.48 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.00916, allocations: 40.91 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.009197, allocations: 4 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.049e-05/0.009257, allocations: 34.56 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/0.009259, allocations: 0 / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.001055/0.01031, allocations: 137.4 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.01039, allocations: 55.41 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.01056, allocations: 109.8 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.01059, allocations: 25.7 kB / 1.004 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.01068, allocations: 84.14 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.0107, allocations: 7.953 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.01077, allocations: 21.66 kB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002577/0.01103, allocations: 314.8 kB / 1.005 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.01131, allocations: 27.97 kB / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.01157, allocations: 39.95 kB / 1.005 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000491/0.01206, allocations: 60.8 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01206, allocations: 4 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0009014/0.01296, allocations: 109.5 kB / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.01299, allocations: 10.44 kB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.013, allocations: 0 / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.01302, allocations: 0 / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.01323, allocations: 19.98 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.01324, allocations: 3.938 kB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.01338, allocations: 11.98 kB / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.01339, allocations: 336 / 1.005 GB, free: 9.039 MB / 0.9636 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 0.0001464/0.01354, allocations: 109.8 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.539e-05/0.01358, allocations: 8 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.702e-05/0.01364, allocations: 11.94 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.01365, allocations: 3.984 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.01365, allocations: 0 / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01366, allocations: 4 kB / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.01393, allocations: 109.2 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01393, allocations: 0 / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.01412, allocations: 15.98 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01412, allocations: 0 / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.01414, allocations: 3.984 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.01415, allocations: 11.94 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.01415, allocations: 0 / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007036/0.01485, allocations: 195.4 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.01487, allocations: 4 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.01489, allocations: 0 / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.01511, allocations: 15.91 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.307e-05/0.01518, allocations: 12 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.01519, allocations: 0 / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001012/0.01529, allocations: 87.27 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.91e-07/0.01529, allocations: 0 / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004226/0.01572, allocations: 8 kB / 1.005 GB, free: 8.387 MB / 0.9636 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 0.0002121/0.01593, allocations: 99.19 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006131/0.01654, allocations: 75.86 kB / 1.006 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.01654, allocations: 0 / 1.006 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.01685, allocations: 35.95 kB / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.01736, allocations: 4 kB / 1.006 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006501/0.01801, allocations: 132.7 kB / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.01812, allocations: 67.33 kB / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.21e-05/0.01818, allocations: 8 kB / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.01823, allocations: 8.5 kB / 1.006 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.01823, allocations: 0 / 1.006 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of Templates: time 0.006063/0.0243, allocations: 0.7749 MB / 1.007 GB, free: 7.145 MB / 0.9636 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: 9.385731060057878]