Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001046/0.001046, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001264/0.001264, allocations: 169 kB / 24.14 MB, free: 360 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.029/1.029, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6429/0.6429, allocations: 115 MB / 376 MB, free: 7.492 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 428.8 MB, free: 2.742 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.24e-05, allocations: 6.25 kB / 428.8 MB, free: 2.734 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001064/0.001076, allocations: 0.7065 MB / 429.5 MB, free: 2.027 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007301/0.001806, allocations: 0.9093 MB / 430.4 MB, free: 1.105 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.00184, allocations: 0 / 430.4 MB, free: 1.105 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.355e-05/0.001864, allocations: 3.938 kB / 430.4 MB, free: 1.102 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.002e-05/0.001924, allocations: 11.88 kB / 430.4 MB, free: 1.09 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.002048, allocations: 19.98 kB / 430.4 MB, free: 1.07 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.59e-05/0.002114, allocations: 55.83 kB / 430.5 MB, free: 1.016 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.378e-05/0.002178, allocations: 7.938 kB / 430.5 MB, free: 1.008 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.546e-05/0.002253, allocations: 27.97 kB / 430.5 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.56e-05/0.002289, allocations: 15.92 kB / 430.5 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.002309, allocations: 4 kB / 430.5 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-06/0.002317, allocations: 7.938 kB / 430.6 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.002334, allocations: 4 kB / 430.6 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.748e-05/0.002351, allocations: 15.97 kB / 430.6 MB, free: 0.9336 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 6.252e-05/0.002414, allocations: 27.91 kB / 430.6 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002416, allocations: 0 / 430.6 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002416, allocations: 4 kB / 430.6 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.685e-06/0.002419, allocations: 0 / 430.6 MB, free: 0.9023 MB / 394.7 MB 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.0002494/0.002668, allocations: 248.9 kB / 430.8 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.002697, allocations: 8.031 kB / 430.9 MB, free: 0.625 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.247e-05/0.002719, allocations: 4.938 kB / 430.9 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.464e-05/0.002794, allocations: 113.7 kB / 431 MB, free: 496 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.002804, allocations: 4.359 kB / 431 MB, free: 492 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.002815, allocations: 8.359 kB / 431 MB, free: 484 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.791e-05/0.002913, allocations: 66.94 kB / 431 MB, free: 408 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.00292, allocations: 8.125 kB / 431.1 MB, free: 400 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.002925, allocations: 384 / 431.1 MB, free: 400 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.00293, allocations: 384 / 431.1 MB, free: 400 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.948e-05/0.00295, allocations: 7.938 kB / 431.1 MB, free: 392 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.003124, allocations: 156.3 kB / 431.2 MB, free: 220 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.382e-05/0.003167, allocations: 18.58 kB / 431.2 MB, free: 192 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.642e-05/0.003184, allocations: 12.92 kB / 431.2 MB, free: 176 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.003196, allocations: 8.016 kB / 431.3 MB, free: 168 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.003213, allocations: 34.56 kB / 431.3 MB, free: 124 kB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 5.61e-07/0.003213, allocations: 3.938 kB / 431.3 MB, free: 120 kB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 8.977e-05/0.003303, allocations: 45.62 kB / 431.3 MB, free: 68 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.003329, allocations: 55.41 kB / 431.4 MB, free: 0 / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.928e-05/0.003389, allocations: 110.7 kB / 431.5 MB, free: 15.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.003399, allocations: 25.7 kB / 431.5 MB, free: 15.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.003429, allocations: 96.08 kB / 431.6 MB, free: 15.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.003446, allocations: 11.89 kB / 431.6 MB, free: 15.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.003468, allocations: 13.72 kB / 431.6 MB, free: 15.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.771e-05/0.003536, allocations: 314.8 kB / 431.9 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.003547, allocations: 7.938 kB / 432 MB, free: 15.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-06/0.003556, allocations: 0 / 432 MB, free: 15.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.517e-05/0.003581, allocations: 20.83 kB / 432 MB, free: 15.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.003582, allocations: 4 kB / 432 MB, free: 15.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.806e-05/0.00362, allocations: 37.69 kB / 432 MB, free: 15.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.00363, allocations: 8 kB / 432 MB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.003634, allocations: 0 / 432 MB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.003645, allocations: 3.938 kB / 432 MB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.592e-05/0.003711, allocations: 11.98 kB / 432 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-06/0.003713, allocations: 0 / 432 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.003732, allocations: 7.938 kB / 432 MB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.003738, allocations: 4 kB / 432.1 MB, free: 15.29 MB / 410.7 MB 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.665e-05/0.003785, allocations: 113.8 kB / 432.2 MB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.003799, allocations: 3.984 kB / 432.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.847e-05/0.003817, allocations: 4 kB / 432.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.003821, allocations: 7.938 kB / 432.2 MB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.003822, allocations: 0 / 432.2 MB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.003824, allocations: 336 / 432.2 MB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.255e-05/0.003897, allocations: 73.89 kB / 432.3 MB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.003897, allocations: 0 / 432.3 MB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.338e-05/0.003921, allocations: 8 kB / 432.3 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.003922, allocations: 0 / 432.3 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-06/0.003926, allocations: 3.984 kB / 432.3 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.003928, allocations: 7.984 kB / 432.3 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.003928, allocations: 0 / 432.3 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.766e-05/0.003996, allocations: 143.4 kB / 432.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-06/0.004002, allocations: 11.89 kB / 432.4 MB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-06/0.00401, allocations: 4 kB / 432.4 MB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.326e-05/0.004043, allocations: 7.984 kB / 432.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.004069, allocations: 4 kB / 432.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.004071, allocations: 3.938 kB / 432.4 MB, free: 14.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.439e-05/0.004085, allocations: 21.14 kB / 432.5 MB, free: 14.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004085, allocations: 0 / 432.5 MB, free: 14.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000106/0.004191, allocations: 8 kB / 432.5 MB, free: 14.82 MB / 410.7 MB 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.253e-05/0.004254, allocations: 76.42 kB / 432.5 MB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.274e-05/0.004307, allocations: 20.84 kB / 432.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.004308, allocations: 0 / 432.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-05/0.004324, allocations: 12.8 kB / 432.6 MB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.004441, allocations: 8 kB / 432.6 MB, free: 14.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001906/0.004632, allocations: 124.7 kB / 432.7 MB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.933e-05/0.004661, allocations: 63.16 kB / 432.8 MB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.512e-05/0.004676, allocations: 0 / 432.8 MB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.004721, allocations: 59.36 kB / 432.8 MB, free: 14.4 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.004721, allocations: 0 / 432.8 MB, free: 14.4 MB / 410.7 MB Notification: Performance of Templates: time 0.001793/0.006514, allocations: 0.7339 MB / 433.6 MB, free: 13.67 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.544296059757471]