Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001265/0.001265, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001608/0.001608, allocations: 170.5 kB / 25.18 MB, free: 8.328 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.9357/0.9357, allocations: 177.2 MB / 205.6 MB, free: 4.367 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.846/1.846, allocations: 389.6 MB / 0.6364 GB, free: 13.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.968e-05, allocations: 5.688 kB / 0.7756 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.004775/0.004795, allocations: 0.8678 MB / 0.7764 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.00643, allocations: 1.329 MB / 0.7777 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.006492, allocations: 4 kB / 0.7777 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.449e-05/0.006536, allocations: 7.875 kB / 0.7777 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.859e-05/0.006635, allocations: 31.72 kB / 0.7778 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003674/0.01031, allocations: 311.2 kB / 0.7781 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.01062, allocations: 291.5 kB / 0.7783 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.819e-05/0.01071, allocations: 38.23 kB / 0.7784 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.01089, allocations: 159.8 kB / 0.7785 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.01103, allocations: 91.72 kB / 0.7786 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.01107, allocations: 24 kB / 0.7786 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.782e-05/0.01117, allocations: 43.98 kB / 0.7787 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.75e-05/0.0112, allocations: 19.92 kB / 0.7787 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.841e-05/0.01128, allocations: 87.84 kB / 0.7788 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.01152, allocations: 223.3 kB / 0.779 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.01153, allocations: 0 / 0.779 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.41e-07/0.01153, allocations: 0 / 0.779 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.01153, allocations: 0 / 0.779 GB, free: 11.01 MB / 0.7448 GB 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.0004354/0.01197, allocations: 425.5 kB / 0.7794 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.012, allocations: 12.03 kB / 0.7794 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.01205, allocations: 28.91 kB / 0.7794 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.01223, allocations: 146.1 kB / 0.7796 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.01225, allocations: 20.31 kB / 0.7796 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.01228, allocations: 28.34 kB / 0.7796 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.01239, allocations: 90.23 kB / 0.7797 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.0124, allocations: 0 / 0.7797 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.0124, allocations: 4 kB / 0.7797 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.01241, allocations: 0 / 0.7797 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.482e-05/0.01244, allocations: 19.98 kB / 0.7797 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.0128, allocations: 267.9 kB / 0.78 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.01293, allocations: 42.55 kB / 0.78 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.01296, allocations: 20.86 kB / 0.7801 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.01297, allocations: 11.92 kB / 0.7801 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003119/0.01608, allocations: 106.8 kB / 0.7802 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.01609, allocations: 0 / 0.7802 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.00017/0.01626, allocations: 101.6 kB / 0.7803 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.01629, allocations: 59.34 kB / 0.7803 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.071e-05/0.01638, allocations: 158.5 kB / 0.7805 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.01641, allocations: 33.7 kB / 0.7805 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.01646, allocations: 104.6 kB / 0.7806 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.01648, allocations: 39.7 kB / 0.7806 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-05/0.01658, allocations: 69.64 kB / 0.7807 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.01666, allocations: 322.8 kB / 0.781 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.01679, allocations: 149.1 kB / 0.7812 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.01694, allocations: 203 kB / 0.7814 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.01712, allocations: 218.9 kB / 0.7816 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01712, allocations: 0 / 0.7816 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003366/0.01746, allocations: 395.3 kB / 0.7819 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003895/0.01785, allocations: 105.1 kB / 0.782 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01785, allocations: 0 / 0.782 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.01787, allocations: 7.938 kB / 0.7821 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.863e-05/0.01791, allocations: 15.94 kB / 0.7821 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.01792, allocations: 0 / 0.7821 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.01814, allocations: 72.02 kB / 0.7821 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.01817, allocations: 11.98 kB / 0.7821 GB, free: 7.465 MB / 0.7448 GB 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 8.835e-05/0.01826, allocations: 133.8 kB / 0.7823 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.01828, allocations: 11.98 kB / 0.7823 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.0183, allocations: 16.77 kB / 0.7823 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01831, allocations: 3.938 kB / 0.7823 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.01831, allocations: 0 / 0.7823 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.01831, allocations: 4 kB / 0.7823 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.503e-05/0.01841, allocations: 101.8 kB / 0.7824 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.01841, allocations: 0 / 0.7824 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.046e-05/0.01844, allocations: 11.98 kB / 0.7824 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01844, allocations: 0 / 0.7824 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.01845, allocations: 8 kB / 0.7824 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.01845, allocations: 0 / 0.7824 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01845, allocations: 0 / 0.7824 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.01856, allocations: 113 kB / 0.7825 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.01857, allocations: 11.91 kB / 0.7825 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.01859, allocations: 15.94 kB / 0.7826 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.815e-05/0.01861, allocations: 0 / 0.7826 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.01864, allocations: 19.97 kB / 0.7826 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.01865, allocations: 3.938 kB / 0.7826 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.643e-05/0.01867, allocations: 28.83 kB / 0.7826 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01867, allocations: 0 / 0.7826 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002/0.01887, allocations: 51.94 kB / 0.7827 GB, free: 6.891 MB / 0.7448 GB 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.003125/0.022, allocations: 88.41 kB / 0.7827 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003098/0.02231, allocations: 400.3 kB / 0.7831 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.02231, allocations: 4.062 kB / 0.7831 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.842e-05/0.02236, allocations: 40.66 kB / 0.7832 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.0225, allocations: 23.97 kB / 0.7832 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.02283, allocations: 258.9 kB / 0.7834 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.901e-05/0.02289, allocations: 102.3 kB / 0.7835 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.02305, allocations: 95.33 kB / 0.7836 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.02305, allocations: 0 / 0.7836 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of Templates: time 0.006005/0.02905, allocations: 2.259 MB / 0.7858 GB, free: 3.531 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.353633904829621]