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.001274/0.001274, allocations: 83.03 kB / 19.94 MB, free: 1.777 MB / 14.72 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.001417/0.001417, allocations: 163.2 kB / 23.22 MB, free: 4.902 MB / 14.72 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.377/1.377, allocations: 177.1 MB / 203.5 MB, free: 9.156 MB / 190.1 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.9029/0.9029, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 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.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.844e-06/1.844e-06, allocations: 0 / 0.5547 GB, free: 2.562 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.489e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.559 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.00181/0.001835, allocations: 0.7683 MB / 0.5555 GB, free: 1.801 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.003446, allocations: 1.166 MB / 0.5566 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.003494, allocations: 4 kB / 0.5566 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.003528, allocations: 7.922 kB / 0.5566 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/0.003597, allocations: 15.81 kB / 0.5567 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.00408, allocations: 134.9 kB / 0.5568 GB, free: 476 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.004282, allocations: 127.7 kB / 0.5569 GB, free: 348 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.041e-05/0.004372, allocations: 11.98 kB / 0.5569 GB, free: 336 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.004501, allocations: 71.88 kB / 0.557 GB, free: 264 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.004602, allocations: 51.81 kB / 0.557 GB, free: 212 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.004636, allocations: 12 kB / 0.557 GB, free: 200 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.618e-05/0.004702, allocations: 23.98 kB / 0.5571 GB, free: 176 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.004725, allocations: 11.98 kB / 0.5571 GB, free: 164 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.004789, allocations: 35.91 kB / 0.5571 GB, free: 128 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.005011, allocations: 139.6 kB / 0.5572 GB, free: 15.99 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.005013, allocations: 0 / 0.5572 GB, free: 15.99 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005013, allocations: 0 / 0.5572 GB, free: 15.99 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.005017, allocations: 0 / 0.5572 GB, free: 15.99 MB / 478.1 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.000643/0.00566, allocations: 347.8 kB / 0.5576 GB, free: 15.61 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.005694, allocations: 16.62 kB / 0.5576 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.00574, allocations: 8.891 kB / 0.5576 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.005858, allocations: 121.7 kB / 0.5577 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.00587, allocations: 4.375 kB / 0.5577 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.005897, allocations: 4.375 kB / 0.5577 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.006164, allocations: 86.14 kB / 0.5578 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.006172, allocations: 192 / 0.5578 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.006182, allocations: 384 / 0.5578 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.006186, allocations: 384 / 0.5578 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003256/0.006512, allocations: 75.86 kB / 0.5579 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.006934, allocations: 252.5 kB / 0.5581 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.007141, allocations: 58.47 kB / 0.5582 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.007307, allocations: 40.92 kB / 0.5582 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.007324, allocations: 0 / 0.5582 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.007591, allocations: 107.2 kB / 0.5583 GB, free: 14.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.007592, allocations: 0 / 0.5583 GB, free: 14.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006706/0.008263, allocations: 165.5 kB / 0.5585 GB, free: 14.6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.008309, allocations: 59.39 kB / 0.5585 GB, free: 14.53 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.008426, allocations: 124.7 kB / 0.5587 GB, free: 14.39 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.008468, allocations: 29.7 kB / 0.5587 GB, free: 14.36 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.008535, allocations: 96.06 kB / 0.5588 GB, free: 14.26 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.00856, allocations: 19.84 kB / 0.5588 GB, free: 14.24 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/0.008633, allocations: 29.7 kB / 0.5588 GB, free: 14.21 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.008788, allocations: 322.8 kB / 0.5591 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.009029, allocations: 89.64 kB / 0.5592 GB, free: 13.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.00929, allocations: 116.2 kB / 0.5593 GB, free: 13.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.009679, allocations: 140.1 kB / 0.5595 GB, free: 13.51 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.009681, allocations: 0 / 0.5595 GB, free: 13.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005974/0.01028, allocations: 252.9 kB / 0.5597 GB, free: 13.24 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.01033, allocations: 41.69 kB / 0.5597 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01033, allocations: 0 / 0.5597 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.01035, allocations: 0 / 0.5597 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.01048, allocations: 15.98 kB / 0.5598 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.01049, allocations: 4 kB / 0.5598 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.01073, allocations: 40.28 kB / 0.5598 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.01075, allocations: 7.984 kB / 0.5598 GB, free: 13.13 MB / 478.1 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 0.0001065/0.01086, allocations: 125.7 kB / 0.5599 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.01088, allocations: 11.94 kB / 0.5599 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.0109, allocations: 8.438 kB / 0.5599 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.0109, allocations: 0 / 0.5599 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.01091, allocations: 4 kB / 0.5599 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.01092, allocations: 3.984 kB / 0.56 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.01104, allocations: 125.3 kB / 0.5601 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01104, allocations: 0 / 0.5601 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.01115, allocations: 19.97 kB / 0.5601 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.01115, allocations: 0 / 0.5601 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.01116, allocations: 7.938 kB / 0.5601 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.01116, allocations: 0 / 0.5601 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01116, allocations: 0 / 0.5601 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.01158, allocations: 149 kB / 0.5602 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.0116, allocations: 15.83 kB / 0.5603 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.01161, allocations: 3.938 kB / 0.5603 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.276e-05/0.01171, allocations: 15.98 kB / 0.5603 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.01175, allocations: 7.984 kB / 0.5603 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.01176, allocations: 96 / 0.5603 GB, free: 12.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.791e-05/0.01185, allocations: 99.2 kB / 0.5604 GB, free: 12.49 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01185, allocations: 3.938 kB / 0.5604 GB, free: 12.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000222/0.01207, allocations: 24 kB / 0.5604 GB, free: 12.46 MB / 478.1 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 0.0001509/0.01222, allocations: 103.2 kB / 0.5605 GB, free: 12.35 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000535/0.01276, allocations: 204.9 kB / 0.5607 GB, free: 12.13 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01276, allocations: 0 / 0.5607 GB, free: 12.13 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.01294, allocations: 43.95 kB / 0.5607 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.01314, allocations: 12.44 kB / 0.5608 GB, free: 12.07 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.01349, allocations: 164.7 kB / 0.5609 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.409e-05/0.01355, allocations: 71.34 kB / 0.561 GB, free: 11.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 3.849e-05/0.01359, allocations: 3.984 kB / 0.561 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.01362, allocations: 12.5 kB / 0.561 GB, free: 11.78 MB / 478.1 MB Notification: Performance of SimCode: time 4.31e-07/0.01363, allocations: 4 kB / 0.561 GB, free: 11.78 MB / 478.1 MB Notification: Performance of Templates: time 0.004887/0.01851, allocations: 1.724 MB / 0.5627 GB, free: 10.1 MB / 478.1 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.082361273467541] Failed to read output from testmodel.py, exit status != 0: 0.026684563606977463 0.041122712000000006 0.033132525 Calling exit ...