Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008697/0.008697, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.641/1.641, allocations: 252 MB / 0.5105 GB, free: 4.684 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006392/0.0006391, allocations: 16 kB / 0.6249 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6709/0.6716, allocations: 106.4 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.002824/0.6745, allocations: 1.275 MB / 0.73 GB, free: 10 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007421/0.6753, allocations: 240.1 kB / 0.7302 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.103e-05/0.6754, allocations: 0 / 0.7302 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.6755, allocations: 7.922 kB / 0.7302 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.6756, allocations: 23.84 kB / 0.7302 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.6759, allocations: 27.92 kB / 0.7303 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.6761, allocations: 107.7 kB / 0.7304 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.6763, allocations: 41.23 kB / 0.7304 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.999e-05/0.6764, allocations: 47.77 kB / 0.7305 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.6765, allocations: 39.78 kB / 0.7305 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.6766, allocations: 4 kB / 0.7305 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.156e-05/0.6766, allocations: 4 kB / 0.7305 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.6766, allocations: 15.92 kB / 0.7305 GB, free: 9.445 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.6768, allocations: 69.38 kB / 0.7306 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.6769, allocations: 109.6 kB / 0.7307 GB, free: 9.266 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6769, allocations: 0 / 0.7307 GB, free: 9.266 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6769, allocations: 0 / 0.7307 GB, free: 9.266 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.677, allocations: 0 / 0.7307 GB, free: 9.266 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008114/0.6778, allocations: 435.2 kB / 0.7311 GB, free: 8.789 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/0.6778, allocations: 16.02 kB / 0.7311 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.6779, allocations: 8.844 kB / 0.7311 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.6781, allocations: 184.1 kB / 0.7313 GB, free: 8.547 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.6781, allocations: 12.56 kB / 0.7313 GB, free: 8.535 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.6782, allocations: 12.38 kB / 0.7313 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.6784, allocations: 104.7 kB / 0.7314 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.6784, allocations: 0 / 0.7314 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.6785, allocations: 4 kB / 0.7314 GB, free: 8.414 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.6785, allocations: 4 kB / 0.7314 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.6786, allocations: 59.91 kB / 0.7315 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007901/0.6794, allocations: 396.5 kB / 0.7319 GB, free: 7.914 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.6796, allocations: 82.59 kB / 0.732 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.847e-05/0.6797, allocations: 37.08 kB / 0.732 GB, free: 7.785 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.6797, allocations: 4 kB / 0.732 GB, free: 7.781 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002666/0.68, allocations: 98.55 kB / 0.7321 GB, free: 7.676 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.68, allocations: 0 / 0.7321 GB, free: 7.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0003932/0.6804, allocations: 145.5 kB / 0.7322 GB, free: 7.527 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/0.6805, allocations: 55.41 kB / 0.7323 GB, free: 7.461 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.6807, allocations: 158.4 kB / 0.7324 GB, free: 7.293 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.6807, allocations: 29.64 kB / 0.7325 GB, free: 7.258 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.6808, allocations: 115.8 kB / 0.7326 GB, free: 7.141 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.6808, allocations: 31.64 kB / 0.7326 GB, free: 7.109 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.6809, allocations: 25.72 kB / 0.7326 GB, free: 7.078 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6811, allocations: 322.8 kB / 0.7329 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-05/0.6811, allocations: 35.83 kB / 0.733 GB, free: 6.719 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.018e-05/0.6812, allocations: 65.22 kB / 0.733 GB, free: 6.645 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.6814, allocations: 79.38 kB / 0.7331 GB, free: 6.555 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6814, allocations: 0 / 0.7331 GB, free: 6.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001947/0.6816, allocations: 125.5 kB / 0.7332 GB, free: 6.426 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.6816, allocations: 4 kB / 0.7332 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.6816, allocations: 4 kB / 0.7332 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.6816, allocations: 0 / 0.7332 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.6818, allocations: 19.94 kB / 0.7332 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-05/0.6818, allocations: 16.02 kB / 0.7333 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.6819, allocations: 31.83 kB / 0.7333 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.682, allocations: 11.98 kB / 0.7333 GB, free: 6.34 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,booToInt1.y,booToInt.y,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,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): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001295/0.6821, allocations: 121.8 kB / 0.7334 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.6821, allocations: 7.906 kB / 0.7334 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.6822, allocations: 24.83 kB / 0.7335 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.6822, allocations: 0 / 0.7335 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/0.6822, allocations: 3.938 kB / 0.7335 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6822, allocations: 0 / 0.7335 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.6825, allocations: 221.5 kB / 0.7337 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.6825, allocations: 0 / 0.7337 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-05/0.6826, allocations: 11.94 kB / 0.7337 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6826, allocations: 0 / 0.7337 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.6826, allocations: 0 / 0.7337 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.6826, allocations: 4 kB / 0.7337 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6826, allocations: 7.922 kB / 0.7337 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.6829, allocations: 151.5 kB / 0.7338 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.804e-05/0.683, allocations: 88.86 kB / 0.7339 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.683, allocations: 4 kB / 0.7339 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.6831, allocations: 23.97 kB / 0.7339 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/0.6832, allocations: 19.91 kB / 0.734 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.6832, allocations: 8 kB / 0.734 GB, free: 5.562 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002166/0.6835, allocations: 113.7 kB / 0.7341 GB, free: 5.453 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6835, allocations: 7.875 kB / 0.7341 GB, free: 5.445 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002277/0.6837, allocations: 24 kB / 0.7341 GB, free: 5.422 MB / 0.545 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 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,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.0002869/0.684, allocations: 108.6 kB / 0.7342 GB, free: 5.309 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002672/0.6843, allocations: 83.91 kB / 0.7343 GB, free: 5.227 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.6843, allocations: 4.188 kB / 0.7343 GB, free: 5.223 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.6844, allocations: 51.86 kB / 0.7343 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.6848, allocations: 19.98 kB / 0.7344 GB, free: 5.152 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005904/0.6854, allocations: 276.5 kB / 0.7346 GB, free: 4.855 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.6858, allocations: 0.7048 MB / 0.7353 GB, free: 4.125 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.001e-05/0.6859, allocations: 17.08 kB / 0.7353 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.6859, allocations: 11.44 kB / 0.7353 GB, free: 4.098 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.6859, allocations: 0 / 0.7353 GB, free: 4.098 MB / 0.545 GB Notification: Performance of Templates: time 0.00485/0.6908, allocations: 1.254 MB / 0.7366 GB, free: 2.855 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1) Environment - environmentSimulation: