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.001012/0.001012, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.001606/0.001606, allocations: 165.3 kB / 23.8 MB, free: 0.7695 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.9743/0.9743, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.642/0.642, allocations: 115 MB / 375.7 MB, free: 7.629 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.6562 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.573e-05, allocations: 5.328 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001379/0.001405, allocations: 0.6879 MB / 482.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.002821, allocations: 1.318 MB / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.496e-05/0.002876, allocations: 1.094 kB / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.479e-05/0.002911, allocations: 3.938 kB / 483.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.482e-05/0.002996, allocations: 26.52 kB / 483.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007618/0.003758, allocations: 297.1 kB / 483.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.00407, allocations: 257.5 kB / 484.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.004191, allocations: 12.16 kB / 484.1 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.004366, allocations: 141.8 kB / 484.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.0045, allocations: 76.25 kB / 484.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.004545, allocations: 23 kB / 484.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.098e-05/0.004626, allocations: 34.97 kB / 484.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.004651, allocations: 13.64 kB / 484.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.88e-05/0.00473, allocations: 75.92 kB / 484.5 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.004952, allocations: 195 kB / 484.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.004954, allocations: 1.031 kB / 484.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004955, allocations: 0.7812 kB / 484.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.004959, allocations: 0 / 484.7 MB, free: 10.05 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.0004124/0.005372, allocations: 0.5148 MB / 485.2 MB, free: 9.547 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.005416, allocations: 11.61 kB / 485.2 MB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.831e-05/0.005484, allocations: 23.2 kB / 485.2 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.375e-05/0.005558, allocations: 113.8 kB / 485.3 MB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.005587, allocations: 15.02 kB / 485.3 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.005624, allocations: 13.72 kB / 485.3 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.00575, allocations: 60.58 kB / 485.4 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.00576, allocations: 1 kB / 485.4 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.005774, allocations: 4.828 kB / 485.4 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.005784, allocations: 5.844 kB / 485.4 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.411e-05/0.005818, allocations: 16.47 kB / 485.4 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.006206, allocations: 375.4 kB / 485.8 MB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.658e-05/0.006253, allocations: 35 kB / 485.8 MB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.502e-05/0.006278, allocations: 16.69 kB / 485.9 MB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.006285, allocations: 1.156 kB / 485.9 MB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.006396, allocations: 115.3 kB / 486 MB, free: 8.906 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.006397, allocations: 0 / 486 MB, free: 8.906 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002267/0.006624, allocations: 127.7 kB / 486.1 MB, free: 8.855 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.006651, allocations: 58 kB / 486.1 MB, free: 8.789 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.006908, allocations: 189.4 kB / 486.3 MB, free: 24.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.006934, allocations: 32.33 kB / 486.4 MB, free: 24.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.006994, allocations: 150 kB / 486.5 MB, free: 24.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.007009, allocations: 18.64 kB / 486.5 MB, free: 24.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-05/0.00709, allocations: 75.98 kB / 486.6 MB, free: 24.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.0072, allocations: 0.4925 MB / 487.1 MB, free: 23.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.007349, allocations: 163.5 kB / 487.3 MB, free: 23.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.0075, allocations: 233.9 kB / 487.5 MB, free: 23.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.00767, allocations: 238.6 kB / 487.7 MB, free: 23.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.007673, allocations: 1.625 kB / 487.7 MB, free: 23.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004161/0.008089, allocations: 468.8 kB / 488.2 MB, free: 23.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.00813, allocations: 97.39 kB / 488.3 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.008137, allocations: 6.922 kB / 488.3 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.008153, allocations: 3.812 kB / 488.3 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.936e-05/0.008172, allocations: 3.719 kB / 488.3 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.008179, allocations: 2.719 kB / 488.3 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.008404, allocations: 67.77 kB / 488.4 MB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.008432, allocations: 16.84 kB / 488.4 MB, free: 22.99 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 8.909e-05/0.008521, allocations: 174.9 kB / 488.5 MB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.008538, allocations: 19.36 kB / 488.6 MB, free: 22.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.008563, allocations: 10.16 kB / 488.6 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.008565, allocations: 2.156 kB / 488.6 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.00857, allocations: 7.75 kB / 488.6 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.008574, allocations: 3.469 kB / 488.6 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.941e-05/0.008654, allocations: 140.9 kB / 488.7 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.008655, allocations: 1.438 kB / 488.7 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-06/0.008662, allocations: 1.406 kB / 488.7 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.008664, allocations: 3.938 kB / 488.7 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.008671, allocations: 3 kB / 488.7 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.008672, allocations: 0 / 488.7 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.008674, allocations: 3.938 kB / 488.7 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.008803, allocations: 148.2 kB / 488.9 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-06/0.008812, allocations: 8.016 kB / 488.9 MB, free: 22.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.008825, allocations: 9.375 kB / 488.9 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.375e-05/0.008839, allocations: 5.312 kB / 488.9 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.008875, allocations: 14.39 kB / 488.9 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.008882, allocations: 3.781 kB / 488.9 MB, free: 22.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.829e-05/0.00893, allocations: 136.6 kB / 489.1 MB, free: 22.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.00893, allocations: 1.406 kB / 489.1 MB, free: 22.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001853/0.009116, allocations: 43.59 kB / 489.1 MB, free: 22.39 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.0001253/0.009241, allocations: 104.9 kB / 489.2 MB, free: 22.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003395/0.00958, allocations: 415.1 kB / 489.6 MB, free: 21.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.009583, allocations: 1.094 kB / 489.6 MB, free: 21.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.009623, allocations: 33.16 kB / 489.6 MB, free: 21.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.009809, allocations: 25.92 kB / 489.7 MB, free: 21.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.0101, allocations: 193.4 kB / 489.9 MB, free: 21.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.948e-05/0.01013, allocations: 61.12 kB / 489.9 MB, free: 21.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.71e-05/0.01016, allocations: 7.781 kB / 489.9 MB, free: 21.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.01018, allocations: 16.98 kB / 489.9 MB, free: 21.72 MB / 426.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01018, allocations: 0.9688 kB / 489.9 MB, free: 21.72 MB / 426.7 MB Notification: Performance of Templates: time 0.004467/0.01465, allocations: 2.924 MB / 492.9 MB, free: 21.47 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.7203793157823384]