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.001496/0.001496, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 187.6 kB / 16.64 MB, free: 6.594 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.701/1.701, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.939/1.939, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001443/0.001443, allocations: 75.08 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2486, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.002165/0.2508, allocations: 0.8496 MB / 0.785 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.2523, allocations: 1.286 MB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.2524, allocations: 0 / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.361e-05/0.2524, allocations: 11.86 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.994e-05/0.2525, allocations: 23.73 kB / 0.7863 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007888/0.2533, allocations: 316.7 kB / 0.7866 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003074/0.2536, allocations: 311.5 kB / 0.7869 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.2538, allocations: 37.44 kB / 0.7869 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.2539, allocations: 119.7 kB / 0.787 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.2541, allocations: 103.7 kB / 0.7871 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.547e-05/0.2541, allocations: 28 kB / 0.7871 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.434e-05/0.2542, allocations: 39.98 kB / 0.7872 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.2543, allocations: 27.91 kB / 0.7872 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.2544, allocations: 103.6 kB / 0.7873 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.2547, allocations: 263.2 kB / 0.7876 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.2547, allocations: 11.92 kB / 0.7876 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2547, allocations: 3.938 kB / 0.7876 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2547, allocations: 0 / 0.7876 GB, free: 9.227 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.0007277/0.2554, allocations: 0.5196 MB / 0.7881 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2555, allocations: 8.031 kB / 0.7881 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.267e-05/0.2556, allocations: 20.84 kB / 0.7881 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.2557, allocations: 188.6 kB / 0.7883 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.2558, allocations: 20.36 kB / 0.7883 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.2558, allocations: 20.38 kB / 0.7883 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.256, allocations: 97.67 kB / 0.7884 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.256, allocations: 0 / 0.7884 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.256, allocations: 7.984 kB / 0.7884 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.256, allocations: 8 kB / 0.7884 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.736e-05/0.2561, allocations: 39.98 kB / 0.7885 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007511/0.2569, allocations: 492.2 kB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.2571, allocations: 74.69 kB / 0.789 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.964e-05/0.2572, allocations: 28.84 kB / 0.789 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.2572, allocations: 3.938 kB / 0.789 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/0.2575, allocations: 111.3 kB / 0.7891 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.2575, allocations: 0 / 0.7891 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0003791/0.2579, allocations: 181 kB / 0.7893 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.2579, allocations: 63.34 kB / 0.7894 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.2581, allocations: 166.1 kB / 0.7895 GB, free: 7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.2581, allocations: 37.7 kB / 0.7896 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.715e-05/0.2582, allocations: 104 kB / 0.7897 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.2583, allocations: 35.62 kB / 0.7897 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.2584, allocations: 77.61 kB / 0.7898 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2585, allocations: 322.8 kB / 0.7901 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.2587, allocations: 95.94 kB / 0.7902 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.259, allocations: 146 kB / 0.7903 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.2593, allocations: 253.5 kB / 0.7906 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2593, allocations: 0 / 0.7906 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000675/0.26, allocations: 398.3 kB / 0.7909 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.2602, allocations: 97.09 kB / 0.791 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.2602, allocations: 7.984 kB / 0.791 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.2602, allocations: 3.938 kB / 0.791 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/0.2603, allocations: 20.12 kB / 0.7911 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2603, allocations: 0 / 0.7911 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004936/0.2608, allocations: 83.75 kB / 0.7911 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.2608, allocations: 23.98 kB / 0.7912 GB, free: 5.203 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.0001552/0.261, allocations: 133.8 kB / 0.7913 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.261, allocations: 11.91 kB / 0.7913 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.535e-05/0.2611, allocations: 16.72 kB / 0.7913 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2611, allocations: 4 kB / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2611, allocations: 0 / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2611, allocations: 0 / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.2613, allocations: 229.4 kB / 0.7915 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2613, allocations: 0 / 0.7915 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.2613, allocations: 8 kB / 0.7916 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2614, allocations: 0 / 0.7916 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.2614, allocations: 11.92 kB / 0.7916 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2614, allocations: 4 kB / 0.7916 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2614, allocations: 0 / 0.7916 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.2616, allocations: 157 kB / 0.7917 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.701e-05/0.2617, allocations: 100.8 kB / 0.7918 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.2617, allocations: 3.938 kB / 0.7918 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.074e-05/0.2618, allocations: 0 / 0.7918 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.2618, allocations: 15.92 kB / 0.7918 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.2618, allocations: 12 kB / 0.7918 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.327e-05/0.2619, allocations: 117 kB / 0.792 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2619, allocations: 0 / 0.792 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002562/0.2622, allocations: 51.98 kB / 0.792 GB, free: 4.246 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.0002546/0.2625, allocations: 107.2 kB / 0.7921 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005741/0.263, allocations: 378.4 kB / 0.7925 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2631, allocations: 4.062 kB / 0.7925 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.936e-05/0.2631, allocations: 55.91 kB / 0.7925 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.2634, allocations: 31.95 kB / 0.7926 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.2639, allocations: 243.5 kB / 0.7928 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.2642, allocations: 0.7123 MB / 0.7935 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.999e-05/0.2643, allocations: 12.64 kB / 0.7935 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.2643, allocations: 15.44 kB / 0.7935 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.2643, allocations: 0 / 0.7935 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of Templates: time 0.005958/0.2703, allocations: 2.793 MB / 0.7962 GB, free: 15.85 MB / 0.6231 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)