Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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.00148/0.00148, allocations: 79.52 kB / 19.93 MB, free: 1.766 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.001578/0.001578, allocations: 170.2 kB / 23.22 MB, free: 4.887 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.367/1.367, allocations: 177.1 MB / 203.5 MB, free: 9.164 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.8866/0.8866, allocations: 114 MB / 373.9 MB, free: 13.25 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5547 GB, free: 2.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.199e-05, allocations: 4.953 kB / 0.5547 GB, free: 2.66 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001683/0.001705, allocations: 0.7915 MB / 0.5555 GB, free: 1.875 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.003329, allocations: 1.314 MB / 0.5567 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.003383, allocations: 0 / 0.5567 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.749e-05/0.003421, allocations: 15.8 kB / 0.5568 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.41e-05/0.003505, allocations: 19.8 kB / 0.5568 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007668/0.004272, allocations: 326.3 kB / 0.5571 GB, free: 208 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.004609, allocations: 299.4 kB / 0.5574 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.004717, allocations: 37.44 kB / 0.5574 GB, free: 15.87 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.004907, allocations: 159.8 kB / 0.5576 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.005068, allocations: 79.8 kB / 0.5576 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.742e-05/0.005125, allocations: 28 kB / 0.5577 GB, free: 15.61 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.414e-05/0.005219, allocations: 51.84 kB / 0.5577 GB, free: 15.56 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.005248, allocations: 23.92 kB / 0.5577 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.005362, allocations: 91.84 kB / 0.5578 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.005724, allocations: 307.2 kB / 0.5581 GB, free: 15.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.005725, allocations: 0 / 0.5581 GB, free: 15.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005726, allocations: 0 / 0.5581 GB, free: 15.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.005732, allocations: 3.984 kB / 0.5581 GB, free: 15.14 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006354/0.006367, allocations: 465.4 kB / 0.5586 GB, free: 14.64 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.006398, allocations: 8.625 kB / 0.5586 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.051e-05/0.006468, allocations: 16.89 kB / 0.5586 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.006592, allocations: 136.6 kB / 0.5587 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.006619, allocations: 16.36 kB / 0.5587 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.006663, allocations: 24.31 kB / 0.5588 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.006826, allocations: 93.59 kB / 0.5588 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.006836, allocations: 0 / 0.5588 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.006847, allocations: 0 / 0.5588 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.006853, allocations: 4 kB / 0.5588 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.006961, allocations: 47.97 kB / 0.5589 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005841/0.007545, allocations: 380.1 kB / 0.5593 GB, free: 13.87 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.007761, allocations: 70.47 kB / 0.5593 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.207e-05/0.007813, allocations: 28.97 kB / 0.5593 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.007824, allocations: 4 kB / 0.5594 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.008004, allocations: 111.3 kB / 0.5595 GB, free: 13.64 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.008006, allocations: 0 / 0.5595 GB, free: 13.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003468/0.008353, allocations: 180.1 kB / 0.5596 GB, free: 13.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.008396, allocations: 55.41 kB / 0.5597 GB, free: 13.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.008535, allocations: 157.7 kB / 0.5598 GB, free: 13.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.008577, allocations: 33.7 kB / 0.5599 GB, free: 13.19 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.619e-05/0.008673, allocations: 112.5 kB / 0.56 GB, free: 13.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.008702, allocations: 27.8 kB / 0.56 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.008834, allocations: 73.67 kB / 0.5601 GB, free: 12.96 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.008984, allocations: 330.8 kB / 0.5604 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.009238, allocations: 185 kB / 0.5606 GB, free: 12.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.00954, allocations: 235.9 kB / 0.5608 GB, free: 12.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.009872, allocations: 252.4 kB / 0.561 GB, free: 11.88 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.009874, allocations: 0 / 0.561 GB, free: 11.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007014/0.01058, allocations: 499.5 kB / 0.5615 GB, free: 11.35 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.799e-05/0.01065, allocations: 99.06 kB / 0.5616 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01066, allocations: 4 kB / 0.5616 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.01068, allocations: 7.969 kB / 0.5616 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.599e-05/0.01073, allocations: 15.94 kB / 0.5616 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.01074, allocations: 0 / 0.5616 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.01119, allocations: 87.98 kB / 0.5617 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.01124, allocations: 23.98 kB / 0.5617 GB, free: 11.1 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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.0001349/0.01137, allocations: 138.8 kB / 0.5619 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.01139, allocations: 11.95 kB / 0.5619 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.01142, allocations: 12.72 kB / 0.5619 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01143, allocations: 7.938 kB / 0.5619 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01143, allocations: 0 / 0.5619 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.01143, allocations: 4 kB / 0.5619 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.01159, allocations: 149.3 kB / 0.562 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.01159, allocations: 4 kB / 0.562 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.01163, allocations: 12 kB / 0.5621 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01163, allocations: 0 / 0.5621 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.01165, allocations: 7.922 kB / 0.5621 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.85e-06/0.01165, allocations: 7.938 kB / 0.5621 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01165, allocations: 0 / 0.5621 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.01188, allocations: 160.9 kB / 0.5622 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.0119, allocations: 15.84 kB / 0.5622 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.01192, allocations: 4 kB / 0.5622 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.214e-05/0.01195, allocations: 11.94 kB / 0.5623 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.01199, allocations: 15.97 kB / 0.5623 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.012, allocations: 4 kB / 0.5623 GB, free: 10.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.16e-05/0.01207, allocations: 105.9 kB / 0.5624 GB, free: 10.38 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01207, allocations: 0 / 0.5624 GB, free: 10.38 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.01233, allocations: 51.98 kB / 0.5624 GB, free: 10.33 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.000146/0.01247, allocations: 107.2 kB / 0.5625 GB, free: 10.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005617/0.01304, allocations: 443.2 kB / 0.563 GB, free: 9.727 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01304, allocations: 0 / 0.563 GB, free: 9.727 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.01312, allocations: 47.91 kB / 0.563 GB, free: 9.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.01336, allocations: 22.06 kB / 0.563 GB, free: 9.66 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.01378, allocations: 237.1 kB / 0.5632 GB, free: 9.406 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.443e-05/0.01387, allocations: 94.59 kB / 0.5633 GB, free: 9.297 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 3.436e-05/0.0139, allocations: 12.97 kB / 0.5633 GB, free: 9.285 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.01393, allocations: 20.5 kB / 0.5634 GB, free: 9.266 MB / 478.1 MB Notification: Performance of SimCode: time 3e-07/0.01393, allocations: 0 / 0.5634 GB, free: 9.266 MB / 478.1 MB Notification: Performance of Templates: time 0.006001/0.01994, allocations: 3.007 MB / 0.5663 GB, free: 6.336 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.094861157238483] Failed to read output from testmodel.py, exit status != 0: 0.027253586798906326 0.041271802 0.032668444000000005 Calling exit ...