Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.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.001017/0.001017, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001433/0.002451, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.001123/0.001123, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001437/0.002559, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8879/0.8879, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08047/0.9684, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6119/0.6119, allocations: 120.1 MB / 364.2 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06097/0.6729, allocations: 38.15 MB / 402.4 MB, free: 12.28 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 403.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.618e-05, allocations: 6.25 kB / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001205/0.001221, allocations: 0.8236 MB / 404.6 MB, free: 10.06 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009387/0.00216, allocations: 1.197 MB / 405.8 MB, free: 8.852 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.002194, allocations: 0 / 405.8 MB, free: 8.852 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.002215, allocations: 3.938 kB / 405.8 MB, free: 8.848 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.157e-05/0.002257, allocations: 19.81 kB / 405.8 MB, free: 8.828 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.002512, allocations: 131.5 kB / 406 MB, free: 8.699 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.002656, allocations: 131.8 kB / 406.1 MB, free: 8.57 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.416e-05/0.00272, allocations: 8 kB / 406.1 MB, free: 8.562 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.00283, allocations: 87.86 kB / 406.2 MB, free: 8.477 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.238e-05/0.002903, allocations: 43.86 kB / 406.2 MB, free: 8.434 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.002923, allocations: 12 kB / 406.2 MB, free: 8.422 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.367e-05/0.002987, allocations: 16 kB / 406.2 MB, free: 8.406 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.003009, allocations: 11.94 kB / 406.3 MB, free: 8.395 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.003044, allocations: 24 kB / 406.3 MB, free: 8.371 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.00317, allocations: 87.67 kB / 406.4 MB, free: 8.285 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.003179, allocations: 0 / 406.4 MB, free: 8.285 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.00318, allocations: 0 / 406.4 MB, free: 8.285 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.00319, allocations: 0 / 406.4 MB, free: 8.285 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004203/0.00361, allocations: 330.1 kB / 406.7 MB, free: 7.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/0.003638, allocations: 8.031 kB / 406.7 MB, free: 7.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.003675, allocations: 12.92 kB / 406.7 MB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.271e-05/0.003747, allocations: 113.7 kB / 406.8 MB, free: 7.773 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.003758, allocations: 4.375 kB / 406.8 MB, free: 7.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.003775, allocations: 12.31 kB / 406.8 MB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.00388, allocations: 70.86 kB / 406.9 MB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.003886, allocations: 192 / 406.9 MB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.003894, allocations: 8.375 kB / 406.9 MB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.003899, allocations: 384 / 406.9 MB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.29e-05/0.003922, allocations: 19.92 kB / 406.9 MB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.004144, allocations: 176.2 kB / 407.1 MB, free: 7.465 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.719e-05/0.004181, allocations: 22.52 kB / 407.1 MB, free: 7.434 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.004196, allocations: 8.859 kB / 407.1 MB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.004212, allocations: 4 kB / 407.1 MB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.908e-05/0.004291, allocations: 63.47 kB / 407.2 MB, free: 7.344 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 6.41e-07/0.004292, allocations: 0 / 407.2 MB, free: 7.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001149/0.004407, allocations: 65.55 kB / 407.3 MB, free: 7.273 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.004435, allocations: 55.41 kB / 407.3 MB, free: 7.207 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.91e-05/0.004494, allocations: 126.7 kB / 407.4 MB, free: 7.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.004513, allocations: 33.7 kB / 407.5 MB, free: 7.031 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.004548, allocations: 92.08 kB / 407.6 MB, free: 6.938 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.004564, allocations: 19.89 kB / 407.6 MB, free: 6.918 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.004603, allocations: 25.69 kB / 407.6 MB, free: 6.887 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.422e-05/0.004667, allocations: 322.8 kB / 407.9 MB, free: 6.562 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.414e-05/0.004711, allocations: 49.69 kB / 408 MB, free: 6.508 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.773e-05/0.004759, allocations: 72.19 kB / 408 MB, free: 6.422 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.293e-05/0.004822, allocations: 88.17 kB / 408.1 MB, free: 6.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.004823, allocations: 0 / 408.1 MB, free: 6.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001164/0.00494, allocations: 161 kB / 408.3 MB, free: 6.145 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.00497, allocations: 37.69 kB / 408.3 MB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.004976, allocations: 7.938 kB / 408.3 MB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.004987, allocations: 0 / 408.3 MB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.005054, allocations: 11.98 kB / 408.3 MB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.005057, allocations: 4 kB / 408.3 MB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.435e-05/0.005132, allocations: 23.92 kB / 408.4 MB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.005145, allocations: 7.984 kB / 408.4 MB, free: 6.047 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 5.344e-05/0.005198, allocations: 121.8 kB / 408.5 MB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/0.005207, allocations: 4 kB / 408.5 MB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.005227, allocations: 16.67 kB / 408.5 MB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.00523, allocations: 7.938 kB / 408.5 MB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.005231, allocations: 0 / 408.5 MB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.005236, allocations: 4 kB / 408.5 MB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.164e-05/0.005297, allocations: 81.88 kB / 408.6 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.005298, allocations: 0 / 408.6 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.005329, allocations: 11.98 kB / 408.6 MB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.005335, allocations: 3.953 kB / 408.6 MB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.005336, allocations: 8 kB / 408.6 MB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.005345, allocations: 3.984 kB / 408.6 MB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.005346, allocations: 3.938 kB / 408.6 MB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.005347, allocations: 0 / 408.6 MB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.773e-05/0.005415, allocations: 85.03 kB / 408.7 MB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-06/0.005423, allocations: 0 / 408.7 MB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.351e-05/0.005447, allocations: 11.98 kB / 408.7 MB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.005473, allocations: 7.938 kB / 408.7 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.005477, allocations: 3.984 kB / 408.7 MB, free: 5.633 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.68e-05/0.005493, allocations: 17.36 kB / 408.8 MB, free: 5.613 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005493, allocations: 4 kB / 408.8 MB, free: 5.609 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001158/0.005609, allocations: 27.98 kB / 408.8 MB, free: 5.582 MB / 394.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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.289e-05/0.005692, allocations: 76.42 kB / 408.9 MB, free: 5.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.005819, allocations: 141.9 kB / 409 MB, free: 5.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.005824, allocations: 7.938 kB / 409 MB, free: 5.332 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.301e-05/0.005857, allocations: 24.78 kB / 409 MB, free: 5.305 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.005978, allocations: 131.4 kB / 409.2 MB, free: 5.152 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.006364, allocations: 164.3 kB / 409.3 MB, free: 4.965 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.753e-05/0.006391, allocations: 59.34 kB / 409.4 MB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.368e-05/0.006415, allocations: 4 kB / 409.4 MB, free: 4.883 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/0.006493, allocations: 75.34 kB / 409.5 MB, free: 4.809 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.006494, allocations: 0 / 409.5 MB, free: 4.809 MB / 394.7 MB Notification: Performance of Templates: time 0.002827/0.009321, allocations: 1.781 MB / 411.2 MB, free: 3.023 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.130373732186854]