Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.148/2.148, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001478, allocations: 178.9 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.409/2.409, allocations: 205.4 MB / 0.5772 GB, free: 20.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009832/0.0009827, allocations: 91.48 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005388/0.0005389, allocations: 15.53 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2411, allocations: 106.2 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2287/0.4699, allocations: 131.3 MB / 1.028 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.4702, allocations: 75.94 kB / 1.028 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004959/0.4752, allocations: 1.17 MB / 1.029 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4752, allocations: 0 / 1.029 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.4753, allocations: 0 / 1.029 GB, free: 12.78 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000802/0.4761, allocations: 399.2 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4761, allocations: 12.03 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.4762, allocations: 12.83 kB / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.4764, allocations: 172.3 kB / 1.03 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.4765, allocations: 4.375 kB / 1.03 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.4765, allocations: 8.375 kB / 1.03 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.4767, allocations: 66.11 kB / 1.03 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4767, allocations: 4.188 kB / 1.03 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.4767, allocations: 3.938 kB / 1.03 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4768, allocations: 0 / 1.03 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.4769, allocations: 35.97 kB / 1.03 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009146/0.4778, allocations: 348.7 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.478, allocations: 46.56 kB / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.364e-05/0.4781, allocations: 24.84 kB / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.4781, allocations: 4 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.4784, allocations: 87.41 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.274e-06/0.4784, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0003677/0.4788, allocations: 113.5 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.4788, allocations: 51.41 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.479, allocations: 133.7 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.479, allocations: 25.7 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.4791, allocations: 96.12 kB / 1.031 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.4791, allocations: 23.89 kB / 1.031 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.4792, allocations: 4 kB / 1.031 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4793, allocations: 322.8 kB / 1.031 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/0.4794, allocations: 20 kB / 1.031 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.4795, allocations: 47.42 kB / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.714e-05/0.4796, allocations: 24.31 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4796, allocations: 0 / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002415/0.4799, allocations: 101.5 kB / 1.031 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4799, allocations: 11.94 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4799, allocations: 0 / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.4799, allocations: 4 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.48, allocations: 7.938 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.4801, allocations: 0 / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.4803, allocations: 35.97 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.4803, allocations: 4 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0001755/0.4805, allocations: 122.9 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.4806, allocations: 0 / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.844e-05/0.4806, allocations: 16.38 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.4806, allocations: 3.984 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.4807, allocations: 3.938 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4807, allocations: 4 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.4809, allocations: 197.5 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4809, allocations: 3.984 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.481, allocations: 4 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.481, allocations: 0 / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.481, allocations: 0 / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.481, allocations: 4 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.481, allocations: 0 / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.4813, allocations: 125 kB / 1.032 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/0.4814, allocations: 81.02 kB / 1.032 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.4814, allocations: 4 kB / 1.032 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.4816, allocations: 23.97 kB / 1.032 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.323e-05/0.4817, allocations: 15.97 kB / 1.032 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.4818, allocations: 0 / 1.032 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.581e-05/0.4819, allocations: 99.27 kB / 1.032 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4819, allocations: 4.188 kB / 1.032 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002626/0.4821, allocations: 20 kB / 1.032 GB, free: 9.523 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001576/0.4823, allocations: 100.8 kB / 1.032 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.4826, allocations: 71.84 kB / 1.032 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4826, allocations: 0 / 1.032 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.4827, allocations: 28 kB / 1.032 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.4831, allocations: 36.8 kB / 1.032 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/0.4837, allocations: 202.9 kB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.4841, allocations: 0.6926 MB / 1.033 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.727e-05/0.4841, allocations: 8.562 kB / 1.033 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.4842, allocations: 11.44 kB / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of SimCode: time 8.12e-07/0.4842, allocations: 0 / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of Templates: time 0.004902/0.4891, allocations: 1.044 MB / 1.034 GB, free: 7.281 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)