Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.717/2.717, allocations: 287.3 MB / 302.3 MB, free: 8.242 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.002231/0.002231, allocations: 186.9 kB / 370.8 MB, free: 10.85 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.247/2.247, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001172/0.001172, allocations: 108 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004944, allocations: 11.84 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2186, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0008931/0.2195, allocations: 388.8 kB / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.2211, allocations: 1.124 MB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.2212, allocations: 4 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.2212, allocations: 3.938 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.739e-05/0.2213, allocations: 15.95 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007933/0.2221, allocations: 192.9 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.2223, allocations: 83.89 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.62e-05/0.2224, allocations: 7.984 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.268e-05/0.2225, allocations: 59.89 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.906e-05/0.2226, allocations: 43.88 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.2226, allocations: 8 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.784e-05/0.2227, allocations: 23.98 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.2228, allocations: 15.91 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.2228, allocations: 37.7 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.223, allocations: 99.98 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.223, allocations: 0 / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.223, allocations: 0 / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.223, allocations: 4 kB / 0.9803 GB, free: 26.25 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004064/0.2235, allocations: 402.7 kB / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.2235, allocations: 16.02 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.308e-05/0.2236, allocations: 7.906 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.788e-05/0.2237, allocations: 175 kB / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.2237, allocations: 4 kB / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.2238, allocations: 19.94 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.2239, allocations: 45.67 kB / 0.9809 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2239, allocations: 0 / 0.9809 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2239, allocations: 0 / 0.9809 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.224, allocations: 3.938 kB / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.47e-05/0.224, allocations: 15.98 kB / 0.9809 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.2245, allocations: 360.6 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.302e-05/0.2246, allocations: 34.5 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.2247, allocations: 0 / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.2248, allocations: 79.47 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.555e-06/0.2249, allocations: 0 / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002872/0.2251, allocations: 113.4 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.2252, allocations: 59.39 kB / 0.9815 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.554e-05/0.2253, allocations: 122 kB / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.2253, allocations: 29.7 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.2254, allocations: 88.33 kB / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.2254, allocations: 11.8 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.2255, allocations: 8 kB / 0.9818 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.255e-05/0.2256, allocations: 318.8 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.2258, allocations: 55.95 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.226, allocations: 97.27 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.2262, allocations: 111.3 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2262, allocations: 0 / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005874/0.2268, allocations: 265.3 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.411e-05/0.2269, allocations: 67.39 kB / 0.9827 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2269, allocations: 4 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2269, allocations: 0 / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.919e-05/0.227, allocations: 4 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.227, allocations: 7.922 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006613/0.2277, allocations: 76.03 kB / 0.9827 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.2277, allocations: 15.94 kB / 0.9828 GB, free: 23.4 MB / 0.6198 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.2279, allocations: 125.7 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.2279, allocations: 11.91 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.2279, allocations: 8.375 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2279, allocations: 0 / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.228, allocations: 4 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.228, allocations: 4.047 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.2281, allocations: 181.6 kB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2281, allocations: 0 / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/0.2281, allocations: 0 / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2282, allocations: 0 / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.2282, allocations: 0 / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.2282, allocations: 7.984 kB / 0.9831 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2282, allocations: 4 kB / 0.9831 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.2284, allocations: 108.9 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.2284, allocations: 89 kB / 0.9833 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.2285, allocations: 3.938 kB / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.317e-05/0.2285, allocations: 4 kB / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.2286, allocations: 11.97 kB / 0.9833 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.2286, allocations: 4 kB / 0.9833 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.577e-05/0.2286, allocations: 95.27 kB / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2286, allocations: 0 / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003236/0.229, allocations: 28 kB / 0.9834 GB, free: 22.63 MB / 0.6198 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 (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.0001589/0.2292, allocations: 99.25 kB / 0.9835 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004268/0.2296, allocations: 246.7 kB / 0.9837 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2296, allocations: 0 / 0.9837 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.609e-05/0.2297, allocations: 27.92 kB / 0.9838 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.2299, allocations: 28.41 kB / 0.9838 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.2303, allocations: 159.6 kB / 0.984 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.2305, allocations: 0.6926 MB / 0.9846 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.761e-05/0.2305, allocations: 11.98 kB / 0.9846 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.2306, allocations: 11.44 kB / 0.9847 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2306, allocations: 0 / 0.9847 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of Templates: time 0.005183/0.2358, allocations: 1.68 MB / 0.9863 GB, free: 19.63 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)