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.001394/0.001394, allocations: 108.2 kB / 15.99 MB, free: 6.336 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.001656/0.001656, allocations: 199.7 kB / 16.91 MB, free: 6.176 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.562/1.562, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.764/1.764, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001416/0.001416, allocations: 70.58 kB / 0.6717 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2454, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.002112/0.2476, allocations: 0.9001 MB / 0.7844 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.2491, allocations: 1.285 MB / 0.7857 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.2492, allocations: 4 kB / 0.7857 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.2492, allocations: 7.922 kB / 0.7857 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.651e-05/0.2493, allocations: 15.86 kB / 0.7857 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006408/0.2499, allocations: 303.1 kB / 0.786 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.2502, allocations: 303.5 kB / 0.7863 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.684e-05/0.2503, allocations: 37.44 kB / 0.7863 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.2504, allocations: 115.7 kB / 0.7864 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.2505, allocations: 95.64 kB / 0.7865 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.2506, allocations: 24 kB / 0.7865 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.874e-05/0.2506, allocations: 43.97 kB / 0.7866 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.2507, allocations: 23.92 kB / 0.7866 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.681e-05/0.2508, allocations: 111.7 kB / 0.7867 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.2509, allocations: 179.8 kB / 0.7869 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.251, allocations: 0 / 0.7869 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.251, allocations: 0 / 0.7869 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.251, allocations: 0 / 0.7869 GB, free: 10.45 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.000501/0.2515, allocations: 0.5196 MB / 0.7874 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.551e-05/0.2515, allocations: 12.03 kB / 0.7874 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.2516, allocations: 16.84 kB / 0.7874 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.2517, allocations: 196.5 kB / 0.7876 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.2517, allocations: 20.36 kB / 0.7876 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.2518, allocations: 20.38 kB / 0.7876 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.2519, allocations: 93.73 kB / 0.7877 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.539e-06/0.2519, allocations: 0 / 0.7877 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2519, allocations: 3.984 kB / 0.7877 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.252, allocations: 4 kB / 0.7877 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.139e-05/0.252, allocations: 43.98 kB / 0.7878 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.2526, allocations: 496.2 kB / 0.7882 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.2528, allocations: 70.5 kB / 0.7883 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.2529, allocations: 36.95 kB / 0.7884 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.812e-06/0.2529, allocations: 4 kB / 0.7884 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.2531, allocations: 115.3 kB / 0.7885 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.552e-06/0.2531, allocations: 0 / 0.7885 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0002955/0.2534, allocations: 177.3 kB / 0.7886 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.2535, allocations: 55.41 kB / 0.7887 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.2536, allocations: 166.1 kB / 0.7888 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.2536, allocations: 33.7 kB / 0.7889 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.2537, allocations: 112 kB / 0.789 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.2538, allocations: 35.62 kB / 0.789 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.2539, allocations: 73.67 kB / 0.7891 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.254, allocations: 322.8 kB / 0.7894 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.2542, allocations: 95.94 kB / 0.7895 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.2544, allocations: 144.7 kB / 0.7896 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.2547, allocations: 257.6 kB / 0.7899 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2547, allocations: 0 / 0.7899 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005728/0.2553, allocations: 402.3 kB / 0.7903 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.268e-05/0.2554, allocations: 105.1 kB / 0.7904 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2554, allocations: 0 / 0.7904 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.2554, allocations: 7.938 kB / 0.7904 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.19e-05/0.2554, allocations: 11.94 kB / 0.7904 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2555, allocations: 4 kB / 0.7904 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.2559, allocations: 91.92 kB / 0.7905 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.256, allocations: 15.98 kB / 0.7905 GB, free: 6.414 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.0001142/0.2561, allocations: 133.8 kB / 0.7906 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.2561, allocations: 7.906 kB / 0.7906 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.2562, allocations: 24.77 kB / 0.7906 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2562, allocations: 0 / 0.7906 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2562, allocations: 8 kB / 0.7906 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2562, allocations: 4 kB / 0.7907 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.2564, allocations: 213.5 kB / 0.7909 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2564, allocations: 0 / 0.7909 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/0.2564, allocations: 11.98 kB / 0.7909 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2565, allocations: 0 / 0.7909 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.2565, allocations: 11.94 kB / 0.7909 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2565, allocations: 0 / 0.7909 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2565, allocations: 0 / 0.7909 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.2567, allocations: 168.4 kB / 0.791 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.2567, allocations: 92.86 kB / 0.7911 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.2568, allocations: 11.92 kB / 0.7911 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.18e-05/0.2568, allocations: 7.938 kB / 0.7911 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.2568, allocations: 7.984 kB / 0.7912 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.2569, allocations: 11.94 kB / 0.7912 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.647e-05/0.2569, allocations: 113 kB / 0.7913 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2569, allocations: 0 / 0.7913 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002551/0.2572, allocations: 48 kB / 0.7913 GB, free: 5.461 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.0001411/0.2573, allocations: 119.2 kB / 0.7914 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004403/0.2578, allocations: 390 kB / 0.7918 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2578, allocations: 0 / 0.7918 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.141e-05/0.2579, allocations: 51.92 kB / 0.7919 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.2581, allocations: 39.08 kB / 0.7919 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003944/0.2585, allocations: 301.2 kB / 0.7922 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.2588, allocations: 0.7045 MB / 0.7929 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.2588, allocations: 15.44 kB / 0.7929 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2588, allocations: 0 / 0.7929 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of Templates: time 0.00342/0.2623, allocations: 2.272 MB / 0.7951 GB, free: 1.504 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (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)