Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001251/0.001251, allocations: 91.86 kB / 15.36 MB, free: 0.7422 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.00782/0.00782, allocations: 179.3 kB / 16.26 MB, free: 6.605 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.725/1.725, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.909/1.909, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.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.0008061/0.0008061, allocations: 11.5 kB / 0.6743 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3338, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.001265/0.3351, allocations: 0.5458 MB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002177/0.3373, allocations: 1.32 MB / 0.7897 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.325e-05/0.3374, allocations: 4 kB / 0.7897 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.3375, allocations: 3.938 kB / 0.7897 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.3376, allocations: 15.84 kB / 0.7897 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009539/0.3386, allocations: 298.9 kB / 0.79 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.3389, allocations: 263.5 kB / 0.7903 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.3391, allocations: 33.44 kB / 0.7903 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.3393, allocations: 99.73 kB / 0.7904 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.3394, allocations: 79.7 kB / 0.7905 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.424e-05/0.3395, allocations: 16 kB / 0.7905 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.3396, allocations: 19.98 kB / 0.7905 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.1e-05/0.3397, allocations: 23.91 kB / 0.7905 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.3398, allocations: 121.3 kB / 0.7907 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.3401, allocations: 235.5 kB / 0.7909 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3402, allocations: 0 / 0.7909 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3402, allocations: 0 / 0.7909 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.3402, allocations: 7.938 kB / 0.7909 GB, free: 8.496 MB / 0.6075 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.0007319/0.3409, allocations: 488.3 kB / 0.7913 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.341, allocations: 8.031 kB / 0.7914 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.3411, allocations: 20.75 kB / 0.7914 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.3413, allocations: 192.6 kB / 0.7916 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.089e-05/0.3414, allocations: 16.36 kB / 0.7916 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.285e-05/0.3414, allocations: 20.38 kB / 0.7916 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.3416, allocations: 93.72 kB / 0.7917 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.3417, allocations: 0 / 0.7917 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.3417, allocations: 12 kB / 0.7917 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.3417, allocations: 0 / 0.7917 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.3418, allocations: 54.84 kB / 0.7917 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008326/0.3427, allocations: 488.2 kB / 0.7922 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.343, allocations: 74.5 kB / 0.7923 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.445e-05/0.343, allocations: 32.97 kB / 0.7923 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.3431, allocations: 0 / 0.7923 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/0.3433, allocations: 122.5 kB / 0.7924 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.3433, allocations: 0 / 0.7924 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0004103/0.3437, allocations: 165.5 kB / 0.7926 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.3438, allocations: 59.41 kB / 0.7926 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.344, allocations: 169 kB / 0.7928 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.436e-05/0.3441, allocations: 37.7 kB / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.3442, allocations: 104 kB / 0.7929 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.3443, allocations: 35.55 kB / 0.793 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3444, allocations: 37.7 kB / 0.793 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3445, allocations: 318.8 kB / 0.7933 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.3448, allocations: 99.94 kB / 0.7934 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.345, allocations: 157.9 kB / 0.7936 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.3454, allocations: 245.8 kB / 0.7938 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.3454, allocations: 0 / 0.7938 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006515/0.346, allocations: 398.3 kB / 0.7942 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.533e-05/0.3461, allocations: 105.1 kB / 0.7943 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.3461, allocations: 4 kB / 0.7943 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.3462, allocations: 8.062 kB / 0.7943 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.261e-05/0.3462, allocations: 16 kB / 0.7943 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3462, allocations: 0 / 0.7943 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005812/0.3468, allocations: 122.5 kB / 0.7944 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/0.3469, allocations: 19.98 kB / 0.7944 GB, free: 4.52 MB / 0.6075 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 0.0001411/0.347, allocations: 133.8 kB / 0.7946 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.3471, allocations: 15.81 kB / 0.7946 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.3471, allocations: 24.77 kB / 0.7946 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3471, allocations: 0 / 0.7946 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.3471, allocations: 3.938 kB / 0.7946 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3472, allocations: 0 / 0.7946 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.3474, allocations: 217.6 kB / 0.7948 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3474, allocations: 0 / 0.7948 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-05/0.3474, allocations: 11.98 kB / 0.7948 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3474, allocations: 0 / 0.7948 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.3475, allocations: 23.88 kB / 0.7949 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3475, allocations: 0 / 0.7949 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3475, allocations: 0 / 0.7949 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.3477, allocations: 156.9 kB / 0.795 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.3478, allocations: 88.95 kB / 0.7951 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.3478, allocations: 11.92 kB / 0.7951 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.096e-05/0.3478, allocations: 0 / 0.7951 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.3479, allocations: 11.98 kB / 0.7951 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.3479, allocations: 12 kB / 0.7951 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.357e-05/0.348, allocations: 113.4 kB / 0.7952 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.348, allocations: 0 / 0.7952 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002898/0.3483, allocations: 51.91 kB / 0.7953 GB, free: 3.562 MB / 0.6075 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.000182/0.3485, allocations: 119.2 kB / 0.7954 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000578/0.349, allocations: 382.1 kB / 0.7958 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3491, allocations: 4.375 kB / 0.7958 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.597e-05/0.3492, allocations: 51.92 kB / 0.7958 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.3495, allocations: 23.97 kB / 0.7958 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.35, allocations: 278.8 kB / 0.7961 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.3503, allocations: 0.7048 MB / 0.7968 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.516e-05/0.3504, allocations: 16.64 kB / 0.7968 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.3504, allocations: 15.44 kB / 0.7968 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.3505, allocations: 0 / 0.7968 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of Templates: time 0.006928/0.3574, allocations: 2.653 MB / 0.7994 GB, free: 15.27 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1) Environment - environmentSimulation: