Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.774/1.774, allocations: 292.3 MB / 308.1 MB, free: 4.316 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.001824/0.001824, allocations: 200.3 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 101.4 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 59.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3785, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.003324/0.3819, allocations: 0.7279 MB / 0.9829 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.3843, allocations: 1.219 MB / 0.9841 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.3844, allocations: 0 / 0.9841 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.568e-05/0.3845, allocations: 0 / 0.9841 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.582e-05/0.3846, allocations: 7.938 kB / 0.9841 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000904/0.3855, allocations: 203.6 kB / 0.9843 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.3858, allocations: 155.7 kB / 0.9845 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.3859, allocations: 11.98 kB / 0.9845 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.3861, allocations: 55.95 kB / 0.9845 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.3863, allocations: 51.8 kB / 0.9846 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.887e-05/0.3863, allocations: 12 kB / 0.9846 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.3865, allocations: 19.98 kB / 0.9846 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.381e-05/0.3865, allocations: 7.984 kB / 0.9846 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.3866, allocations: 51.83 kB / 0.9847 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.387, allocations: 143.9 kB / 0.9848 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.387, allocations: 0 / 0.9848 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.883e-06/0.387, allocations: 4 kB / 0.9848 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.387, allocations: 0 / 0.9848 GB, free: 7.719 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007718/0.3878, allocations: 430.7 kB / 0.9852 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.3878, allocations: 8.031 kB / 0.9852 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.388, allocations: 12.92 kB / 0.9853 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.3882, allocations: 172.2 kB / 0.9854 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.3882, allocations: 8.375 kB / 0.9854 GB, free: 7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.3883, allocations: 16.31 kB / 0.9854 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.3885, allocations: 54.23 kB / 0.9855 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3885, allocations: 192 / 0.9855 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.3885, allocations: 11.88 kB / 0.9855 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3886, allocations: 0 / 0.9855 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.982e-05/0.3887, allocations: 15.98 kB / 0.9855 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007668/0.3894, allocations: 356.7 kB / 0.9859 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.3896, allocations: 42.5 kB / 0.9859 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.65e-05/0.3896, allocations: 16.86 kB / 0.9859 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.3897, allocations: 0 / 0.9859 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003355/0.39, allocations: 79.36 kB / 0.986 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.39, allocations: 0 / 0.986 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004073/0.3904, allocations: 105.6 kB / 0.9861 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.3905, allocations: 59.41 kB / 0.9862 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.3907, allocations: 117.8 kB / 0.9863 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.3907, allocations: 29.7 kB / 0.9863 GB, free: 6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.3908, allocations: 96.11 kB / 0.9864 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.3909, allocations: 15.81 kB / 0.9864 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.391, allocations: 49.69 kB / 0.9864 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3912, allocations: 318.8 kB / 0.9868 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.3914, allocations: 59.97 kB / 0.9868 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.3916, allocations: 96.2 kB / 0.9869 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.3919, allocations: 159.6 kB / 0.9871 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3919, allocations: 480 / 0.9871 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000588/0.3925, allocations: 268.7 kB / 0.9873 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.72e-05/0.3926, allocations: 67.39 kB / 0.9874 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.3926, allocations: 4 kB / 0.9874 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.691e-05/0.3927, allocations: 0 / 0.9874 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.271e-05/0.3927, allocations: 4 kB / 0.9874 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.3927, allocations: 0 / 0.9874 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/0.3932, allocations: 56.05 kB / 0.9874 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.3933, allocations: 8 kB / 0.9874 GB, free: 4.73 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.000189/0.3935, allocations: 145.6 kB / 0.9876 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.3935, allocations: 3.906 kB / 0.9876 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.3936, allocations: 8.375 kB / 0.9876 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3936, allocations: 3.938 kB / 0.9876 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3936, allocations: 0 / 0.9876 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3936, allocations: 0 / 0.9876 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.3939, allocations: 185.6 kB / 0.9878 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3939, allocations: 0 / 0.9878 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.096e-05/0.3939, allocations: 0 / 0.9878 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3939, allocations: 0 / 0.9878 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.3939, allocations: 4.062 kB / 0.9878 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.3939, allocations: 4 kB / 0.9878 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3939, allocations: 0 / 0.9878 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005758/0.3945, allocations: 0.6824 MB / 0.9884 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.3946, allocations: 85 kB / 0.9885 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.3946, allocations: 0 / 0.9885 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.042e-05/0.3947, allocations: 7.938 kB / 0.9885 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.3947, allocations: 3.984 kB / 0.9885 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.3947, allocations: 8 kB / 0.9885 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.903e-05/0.3948, allocations: 87.22 kB / 0.9886 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3948, allocations: 288 / 0.9886 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005266/0.3954, allocations: 35.98 kB / 0.9887 GB, free: 3.336 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002013/0.3956, allocations: 103.2 kB / 0.9888 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004646/0.3961, allocations: 246.6 kB / 0.989 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3961, allocations: 0 / 0.989 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.477e-05/0.3962, allocations: 27.98 kB / 0.989 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.3965, allocations: 14.02 kB / 0.989 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005796/0.3971, allocations: 295.5 kB / 0.9893 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.3974, allocations: 0.6848 MB / 0.99 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.998e-05/0.3975, allocations: 7.984 kB / 0.99 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.3975, allocations: 11.44 kB / 0.99 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of SimCode: time 3e-07/0.3975, allocations: 4 kB / 0.99 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of Templates: time 0.00631/0.4038, allocations: 1.814 MB / 0.9918 GB, free: 72 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)