Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.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.0009759/0.0009759, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001178/0.001178, allocations: 172.3 kB / 24.84 MB, free: 9.293 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 0.9606/0.9606, allocations: 177.2 MB / 205.3 MB, free: 5.48 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.648/0.648, allocations: 115 MB / 376.8 MB, free: 7.477 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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 482.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.919e-05, allocations: 5.906 kB / 482.8 MB, free: 11.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001465/0.001494, allocations: 0.6806 MB / 483.4 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.002897, allocations: 1.317 MB / 484.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.639e-05/0.002954, allocations: 1.062 kB / 484.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.002984, allocations: 3.938 kB / 484.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.41e-05/0.003068, allocations: 23.02 kB / 484.8 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006946/0.003763, allocations: 297.7 kB / 485.1 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.004098, allocations: 258.8 kB / 485.3 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.00419, allocations: 13.23 kB / 485.3 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.004369, allocations: 137.6 kB / 485.5 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.004534, allocations: 78.12 kB / 485.6 MB, free: 9.992 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.004582, allocations: 23.19 kB / 485.6 MB, free: 9.992 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-05/0.004669, allocations: 35.77 kB / 485.6 MB, free: 9.988 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.004695, allocations: 13.14 kB / 485.6 MB, free: 9.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.749e-05/0.004783, allocations: 79.42 kB / 485.7 MB, free: 9.945 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.005017, allocations: 190 kB / 485.9 MB, free: 9.863 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.00502, allocations: 5.312 kB / 485.9 MB, free: 9.859 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.005022, allocations: 0 / 485.9 MB, free: 9.859 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.005027, allocations: 0 / 485.9 MB, free: 9.859 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004409/0.005468, allocations: 0.5137 MB / 486.4 MB, free: 9.359 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.005505, allocations: 13.62 kB / 486.4 MB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.717e-05/0.005572, allocations: 18.23 kB / 486.4 MB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.809e-05/0.00564, allocations: 117.5 kB / 486.6 MB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.005663, allocations: 11.66 kB / 486.6 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.005696, allocations: 16.72 kB / 486.6 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.109e-05/0.005778, allocations: 64.44 kB / 486.6 MB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.005784, allocations: 1.656 kB / 486.6 MB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.005793, allocations: 4.891 kB / 486.7 MB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.0058, allocations: 5.25 kB / 486.7 MB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.321e-05/0.005823, allocations: 11.22 kB / 486.7 MB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.006184, allocations: 350.4 kB / 487 MB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.539e-05/0.006229, allocations: 35.62 kB / 487 MB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.006248, allocations: 17.16 kB / 487.1 MB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.006256, allocations: 4.891 kB / 487.1 MB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.006382, allocations: 105.6 kB / 487.2 MB, free: 8.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.006384, allocations: 1.531 kB / 487.2 MB, free: 8.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002247/0.006608, allocations: 125.7 kB / 487.3 MB, free: 8.695 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.006632, allocations: 51.41 kB / 487.3 MB, free: 8.633 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.105e-05/0.006703, allocations: 190.7 kB / 487.5 MB, free: 8.457 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.006731, allocations: 38.3 kB / 487.6 MB, free: 8.422 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.006933, allocations: 149 kB / 487.7 MB, free: 24.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.00695, allocations: 19.53 kB / 487.7 MB, free: 24.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.007052, allocations: 73.97 kB / 487.8 MB, free: 24.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.007169, allocations: 0.493 MB / 488.3 MB, free: 23.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.007298, allocations: 149.6 kB / 488.4 MB, free: 23.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.007434, allocations: 225.2 kB / 488.7 MB, free: 23.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.007587, allocations: 223 kB / 488.9 MB, free: 23.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.00759, allocations: 0 / 488.9 MB, free: 23.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004491/0.008039, allocations: 443 kB / 489.3 MB, free: 22.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.249e-05/0.008091, allocations: 101.6 kB / 489.4 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.008097, allocations: 3.562 kB / 489.4 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.008107, allocations: 1.625 kB / 489.4 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.679e-05/0.008124, allocations: 3.156 kB / 489.4 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.008128, allocations: 7.875 kB / 489.4 MB, free: 22.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.00839, allocations: 68.3 kB / 489.5 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.008423, allocations: 19.7 kB / 489.5 MB, free: 22.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001023/0.008525, allocations: 176.2 kB / 489.7 MB, free: 22.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.008543, allocations: 18.27 kB / 489.7 MB, free: 22.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.008567, allocations: 11.62 kB / 489.7 MB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.00857, allocations: 1.406 kB / 489.7 MB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.008572, allocations: 2.594 kB / 489.7 MB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.008576, allocations: 0 / 489.7 MB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.42e-05/0.00867, allocations: 120.9 kB / 489.8 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.008671, allocations: 0 / 489.8 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-06/0.008678, allocations: 5.25 kB / 489.8 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.008681, allocations: 1.312 kB / 489.8 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.008687, allocations: 4.484 kB / 489.9 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.00869, allocations: 10.66 kB / 489.9 MB, free: 22.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008691, allocations: 0 / 489.9 MB, free: 22.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.008828, allocations: 137.7 kB / 490 MB, free: 22.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.008839, allocations: 5.891 kB / 490 MB, free: 22.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.008853, allocations: 6.688 kB / 490 MB, free: 22.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.059e-05/0.008873, allocations: 3.938 kB / 490 MB, free: 22.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.0089, allocations: 11.62 kB / 490 MB, free: 22.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-06/0.008906, allocations: 2.594 kB / 490 MB, free: 22.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.071e-05/0.008957, allocations: 139.3 kB / 490.2 MB, free: 22.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008957, allocations: 0.7812 kB / 490.2 MB, free: 22.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002683/0.009225, allocations: 43.03 kB / 490.2 MB, free: 22.3 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001264/0.009351, allocations: 105 kB / 490.3 MB, free: 22.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.00968, allocations: 402.3 kB / 490.7 MB, free: 21.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.009682, allocations: 0.7812 kB / 490.7 MB, free: 21.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.791e-05/0.00972, allocations: 28.62 kB / 490.7 MB, free: 21.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.009942, allocations: 26.11 kB / 490.8 MB, free: 21.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.01021, allocations: 189.4 kB / 490.9 MB, free: 21.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.887e-05/0.01024, allocations: 61.06 kB / 491 MB, free: 21.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.105e-05/0.01027, allocations: 10.44 kB / 491 MB, free: 21.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.01043, allocations: 117.5 kB / 491.1 MB, free: 21.57 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01043, allocations: 1.25 kB / 491.1 MB, free: 21.57 MB / 426.7 MB Notification: Performance of Templates: time 0.005411/0.01584, allocations: 3.244 MB / 494.4 MB, free: 21.27 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.599331353791058]