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.001399/0.001399, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001293/0.001293, allocations: 173 kB / 24.05 MB, free: 452 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.007/1.007, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.6996/0.6996, allocations: 115 MB / 376 MB, free: 7.527 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 3.357e-06/3.357e-06, allocations: 0 / 482 MB, free: 11.78 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.392e-05, allocations: 2.312 kB / 482 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002264/0.002297, allocations: 0.7034 MB / 482.7 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.003494, allocations: 0.9108 MB / 483.6 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.003543, allocations: 1.812 kB / 483.6 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.003575, allocations: 6.312 kB / 483.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.77e-05/0.003663, allocations: 1.156 kB / 483.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.003852, allocations: 23.17 kB / 483.7 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.533e-05/0.003937, allocations: 43.95 kB / 483.7 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.004042, allocations: 11.27 kB / 483.7 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.004147, allocations: 26.58 kB / 483.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.524e-05/0.004193, allocations: 13.12 kB / 483.8 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.004214, allocations: 4 kB / 483.8 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.004226, allocations: 4.281 kB / 483.8 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.004247, allocations: 12.45 kB / 483.8 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.004273, allocations: 9.656 kB / 483.8 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.071e-05/0.004364, allocations: 36.66 kB / 483.8 MB, free: 10.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.004367, allocations: 0 / 483.8 MB, free: 10.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.004369, allocations: 3.938 kB / 483.8 MB, free: 10.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.004374, allocations: 0 / 483.8 MB, free: 10.6 MB / 410.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.0003641/0.004738, allocations: 375.9 kB / 484.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.004786, allocations: 10.06 kB / 484.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.004824, allocations: 4.156 kB / 484.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.124e-05/0.004905, allocations: 127.6 kB / 484.3 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.004917, allocations: 2.781 kB / 484.3 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.004927, allocations: 2.188 kB / 484.3 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.005069, allocations: 62.25 kB / 484.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.005077, allocations: 1.781 kB / 484.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.005086, allocations: 384 / 484.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.005093, allocations: 2 kB / 484.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.691e-05/0.00512, allocations: 12.47 kB / 484.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.00559, allocations: 242.7 kB / 484.7 MB, free: 25.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.668e-05/0.005657, allocations: 42.67 kB / 484.7 MB, free: 25.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.005677, allocations: 10.03 kB / 484.7 MB, free: 25.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.005701, allocations: 4.891 kB / 484.7 MB, free: 25.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.005718, allocations: 35.77 kB / 484.8 MB, free: 25.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.194e-06/0.00572, allocations: 0.7812 kB / 484.8 MB, free: 25.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001603/0.005881, allocations: 53.53 kB / 484.8 MB, free: 25.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.005904, allocations: 56.84 kB / 484.9 MB, free: 25.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.31e-05/0.005977, allocations: 166.1 kB / 485 MB, free: 25.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.203e-06/0.005984, allocations: 26.83 kB / 485.1 MB, free: 25.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.006029, allocations: 131.5 kB / 485.2 MB, free: 25.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.00605, allocations: 14.2 kB / 485.2 MB, free: 25.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.006081, allocations: 23 kB / 485.2 MB, free: 25.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.006211, allocations: 497.7 kB / 485.7 MB, free: 24.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.006229, allocations: 2.156 kB / 485.7 MB, free: 24.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.366e-05/0.006242, allocations: 1.531 kB / 485.7 MB, free: 24.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.712e-05/0.006279, allocations: 14.09 kB / 485.7 MB, free: 24.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.006282, allocations: 0.875 kB / 485.7 MB, free: 24.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.624e-05/0.006358, allocations: 47.08 kB / 485.8 MB, free: 24.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.006373, allocations: 6.281 kB / 485.8 MB, free: 24.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.006378, allocations: 1.188 kB / 485.8 MB, free: 24.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.006392, allocations: 4.875 kB / 485.8 MB, free: 24.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.096e-05/0.006483, allocations: 11.11 kB / 485.8 MB, free: 24.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.006487, allocations: 8.969 kB / 485.8 MB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.581e-05/0.006522, allocations: 7.578 kB / 485.8 MB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.006529, allocations: 1.5 kB / 485.8 MB, free: 24.64 MB / 426.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 0.000115/0.006644, allocations: 160.1 kB / 486 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.006671, allocations: 5.859 kB / 486 MB, free: 24.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.255e-05/0.006713, allocations: 9.156 kB / 486 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.006716, allocations: 5.375 kB / 486 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.00672, allocations: 8.125 kB / 486 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.006723, allocations: 1.906 kB / 486 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.006829, allocations: 99.42 kB / 486.1 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.006832, allocations: 3.469 kB / 486.1 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/0.006886, allocations: 11.97 kB / 486.1 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.006888, allocations: 1.375 kB / 486.1 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.006894, allocations: 0 / 486.1 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006895, allocations: 2 kB / 486.1 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.006897, allocations: 7.359 kB / 486.1 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.007032, allocations: 188 kB / 486.3 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.007045, allocations: 7.234 kB / 486.3 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.007056, allocations: 0 / 486.3 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.237e-05/0.007118, allocations: 14.19 kB / 486.3 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.007153, allocations: 5.5 kB / 486.3 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.007157, allocations: 1.844 kB / 486.3 MB, free: 24.13 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.255e-05/0.00722, allocations: 130.6 kB / 486.5 MB, free: 24.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.00722, allocations: 2.25 kB / 486.5 MB, free: 24.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002057/0.007426, allocations: 7.062 kB / 486.5 MB, free: 24.01 MB / 426.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 0.000102/0.007528, allocations: 95.69 kB / 486.6 MB, free: 23.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.906e-05/0.007607, allocations: 26.58 kB / 486.6 MB, free: 23.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.007608, allocations: 0.8125 kB / 486.6 MB, free: 23.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.007634, allocations: 17.72 kB / 486.6 MB, free: 23.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.007883, allocations: 6.094 kB / 486.6 MB, free: 23.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.008162, allocations: 136.6 kB / 486.7 MB, free: 23.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.903e-05/0.008191, allocations: 55.08 kB / 486.8 MB, free: 23.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.569e-05/0.008216, allocations: 4.438 kB / 486.8 MB, free: 23.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.852e-05/0.008285, allocations: 76.45 kB / 486.9 MB, free: 23.61 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/0.008286, allocations: 0 / 486.9 MB, free: 23.61 MB / 426.7 MB Notification: Performance of Templates: time 0.002758/0.01104, allocations: 0.8675 MB / 487.7 MB, free: 23.53 MB / 426.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.627785202115774]