Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.049/2.049, allocations: 287.4 MB / 303.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000988/0.0009883, allocations: 193.2 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.876/1.876, allocations: 205.4 MB / 0.6304 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008136/0.0008135, allocations: 98.34 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.000467, allocations: 16.39 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2481, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.001025/0.2492, allocations: 0.5449 MB / 0.9798 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.2508, allocations: 1.255 MB / 0.9811 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.585e-05/0.2509, allocations: 4 kB / 0.9811 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.251, allocations: 3.938 kB / 0.9811 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.2511, allocations: 15.84 kB / 0.9811 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009518/0.252, allocations: 297 kB / 0.9814 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.2523, allocations: 235.5 kB / 0.9816 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.2524, allocations: 29.44 kB / 0.9816 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.2526, allocations: 99.8 kB / 0.9817 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.2527, allocations: 79.69 kB / 0.9818 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.619e-05/0.2528, allocations: 16 kB / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.965e-05/0.2529, allocations: 27.98 kB / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.253, allocations: 15.92 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.729e-05/0.253, allocations: 53.64 kB / 0.9819 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.2532, allocations: 183.8 kB / 0.9821 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.2533, allocations: 4 kB / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2533, allocations: 0 / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.2533, allocations: 0 / 0.9821 GB, free: 25.34 MB / 0.6198 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.0005507/0.2538, allocations: 484.2 kB / 0.9825 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.2539, allocations: 8.031 kB / 0.9825 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.777e-05/0.254, allocations: 20.75 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.2541, allocations: 188.7 kB / 0.9827 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/0.2542, allocations: 12.38 kB / 0.9828 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.844e-05/0.2542, allocations: 16.38 kB / 0.9828 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.2544, allocations: 104.1 kB / 0.9829 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.2544, allocations: 0 / 0.9829 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.2545, allocations: 0 / 0.9829 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2545, allocations: 7.938 kB / 0.9829 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.705e-05/0.2546, allocations: 47.92 kB / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006384/0.2552, allocations: 0.4924 MB / 0.9834 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.2555, allocations: 62.62 kB / 0.9835 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.054e-05/0.2555, allocations: 32.91 kB / 0.9835 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/0.2556, allocations: 0 / 0.9835 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.2558, allocations: 115.2 kB / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.2558, allocations: 4 kB / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0003331/0.2561, allocations: 167 kB / 0.9838 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.2561, allocations: 59.41 kB / 0.9838 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.2563, allocations: 163.4 kB / 0.984 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.2563, allocations: 37.69 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.2564, allocations: 108 kB / 0.9841 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.2564, allocations: 31.55 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.2564, allocations: 8 kB / 0.9842 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.636e-05/0.2565, allocations: 326.8 kB / 0.9845 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.2567, allocations: 95.94 kB / 0.9846 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.2569, allocations: 145.9 kB / 0.9847 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.2571, allocations: 245.5 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2571, allocations: 4 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005324/0.2577, allocations: 406.2 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.268e-05/0.2577, allocations: 101.3 kB / 0.9854 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.2578, allocations: 4 kB / 0.9854 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2578, allocations: 11.92 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.385e-05/0.2578, allocations: 11.98 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2579, allocations: 4 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/0.2584, allocations: 121.6 kB / 0.9856 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.2584, allocations: 23.98 kB / 0.9856 GB, free: 21.41 MB / 0.6198 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,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.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 initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.2585, allocations: 133.8 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.2586, allocations: 15.81 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.2586, allocations: 8.844 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2586, allocations: 7.922 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2586, allocations: 4 kB / 0.9858 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.2587, allocations: 81.02 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.2587, allocations: 8 kB / 0.9858 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.201e-05/0.2587, allocations: 8 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.2588, allocations: 11.98 kB / 0.9859 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001974/0.259, allocations: 209.6 kB / 0.9861 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000189/0.2592, allocations: 309.4 kB / 0.9863 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.09e-05/0.2592, allocations: 47.97 kB / 0.9864 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.094e-05/0.2593, allocations: 119.2 kB / 0.9865 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of Backend: time 2.61e-07/0.2593, allocations: 0 / 0.9865 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000696/0.26, allocations: 432.4 kB / 0.9869 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005747/0.2606, allocations: 0.6965 MB / 0.9876 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of Templates: time 0.005223/0.2658, allocations: 2.664 MB / 0.9902 GB, free: 16.58 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)