Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.MultiAnd,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 106.4 kB / 16.29 MB, free: 6.43 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.001145/0.001145, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.621/1.621, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.122/2.122, allocations: 292.3 MB / 0.5495 GB, free: 17.47 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.001449/0.001449, allocations: 74.56 kB / 0.6722 GB, free: 6.469 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2888, allocations: 114.5 MB / 0.7841 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002165/0.291, allocations: 0.8462 MB / 0.7849 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.2929, allocations: 1.472 MB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.104e-05/0.293, allocations: 4 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.2931, allocations: 15.8 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.754e-05/0.2932, allocations: 31.72 kB / 0.7864 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.2944, allocations: 0.5205 MB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005014/0.2949, allocations: 499.2 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.2951, allocations: 41.48 kB / 0.7874 GB, free: 380 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.2952, allocations: 191.7 kB / 0.7876 GB, free: 188 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.2955, allocations: 175.4 kB / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.4706/0.7661, allocations: 38.17 kB / 0.7878 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.7664, allocations: 55.69 kB / 0.7879 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.524e-05/0.7665, allocations: 42.55 kB / 0.7879 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.7667, allocations: 163 kB / 0.7881 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005411/0.7672, allocations: 409.6 kB / 0.7885 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.7672, allocations: 2.781 kB / 0.7885 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.325e-06/0.7673, allocations: 0 / 0.7885 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.7673, allocations: 2.438 kB / 0.7885 GB, free: 46.45 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008111/0.7681, allocations: 0.6464 MB / 0.7891 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.7681, allocations: 10.88 kB / 0.7891 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.7683, allocations: 28.84 kB / 0.7891 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.7686, allocations: 261.5 kB / 0.7894 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.7687, allocations: 15.5 kB / 0.7894 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.966e-05/0.7687, allocations: 34.88 kB / 0.7894 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.7691, allocations: 158.2 kB / 0.7896 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.7691, allocations: 192 / 0.7896 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.7691, allocations: 3.938 kB / 0.7896 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.7691, allocations: 2.625 kB / 0.7896 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.7693, allocations: 83.52 kB / 0.7897 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008229/0.7701, allocations: 0.7004 MB / 0.7903 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.7703, allocations: 175.2 kB / 0.7905 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.869e-05/0.7704, allocations: 46.98 kB / 0.7906 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.7704, allocations: 1.969 kB / 0.7906 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003137/0.7707, allocations: 157.4 kB / 0.7907 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.7707, allocations: 0 / 0.7907 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.0004097/0.7711, allocations: 239.4 kB / 0.7909 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.7712, allocations: 56.31 kB / 0.791 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.7713, allocations: 188.1 kB / 0.7912 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.7714, allocations: 40.23 kB / 0.7912 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.7714, allocations: 131.3 kB / 0.7913 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.7715, allocations: 37.69 kB / 0.7914 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.7717, allocations: 117.2 kB / 0.7915 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.718e-05/0.7717, allocations: 330.1 kB / 0.7918 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.772, allocations: 153.3 kB / 0.7919 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.7723, allocations: 239.6 kB / 0.7922 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.7728, allocations: 415.1 kB / 0.7926 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.7728, allocations: 5.719 kB / 0.7926 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008751/0.7736, allocations: 0.6167 MB / 0.7932 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-05/0.7737, allocations: 163.9 kB / 0.7933 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.7738, allocations: 7.406 kB / 0.7933 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/0.7738, allocations: 9.906 kB / 0.7933 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-05/0.7739, allocations: 13.78 kB / 0.7934 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.7739, allocations: 6.938 kB / 0.7934 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007074/0.7746, allocations: 138 kB / 0.7935 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/0.7747, allocations: 31.7 kB / 0.7935 GB, free: 43.68 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.000148/0.7748, allocations: 157.7 kB / 0.7937 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.7748, allocations: 18.64 kB / 0.7937 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.407e-05/0.7749, allocations: 23.72 kB / 0.7937 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.7749, allocations: 0 / 0.7937 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.7749, allocations: 0.9375 kB / 0.7937 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.7749, allocations: 3.281 kB / 0.7937 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.7754, allocations: 0.5114 MB / 0.7942 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7754, allocations: 0 / 0.7942 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-05/0.7754, allocations: 7.312 kB / 0.7942 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7754, allocations: 3.438 kB / 0.7942 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.7755, allocations: 10.98 kB / 0.7942 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.7755, allocations: 3.406 kB / 0.7942 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7755, allocations: 0 / 0.7942 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.7757, allocations: 279.7 kB / 0.7945 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.7757, allocations: 91.34 kB / 0.7946 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.7758, allocations: 9.75 kB / 0.7946 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.521e-05/0.7758, allocations: 6.125 kB / 0.7946 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.7759, allocations: 16.83 kB / 0.7946 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.7759, allocations: 12.34 kB / 0.7946 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.412e-05/0.776, allocations: 121.9 kB / 0.7948 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.81e-07/0.776, allocations: 6.312 kB / 0.7948 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003593/0.7764, allocations: 80.83 kB / 0.7948 GB, free: 42.92 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000154/0.7765, allocations: 115 kB / 0.795 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006122/0.7771, allocations: 0.6175 MB / 0.7956 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7772, allocations: 3.375 kB / 0.7956 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.905e-05/0.7773, allocations: 79.58 kB / 0.7956 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.7777, allocations: 59.5 kB / 0.7957 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.7782, allocations: 318.2 kB / 0.796 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.7783, allocations: 0.7233 MB / 0.7967 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.873e-05/0.7784, allocations: 28.67 kB / 0.7967 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.7784, allocations: 20.44 kB / 0.7967 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of SimCode: time 2.71e-07/0.7784, allocations: 0 / 0.7967 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.009452/0.7879, allocations: 4.559 MB / 0.8012 GB, free: 41.39 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)