Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.822/1.822, allocations: 288.4 MB / 303.3 MB, free: 8.156 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.001206/0.001206, allocations: 185.5 kB / 372 MB, free: 10.25 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.768/1.768, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0007311/0.0007309, allocations: 85.02 kB / 0.744 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003837, allocations: 12.16 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2194, allocations: 115.3 MB / 0.9797 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.000786/0.2202, allocations: 390.7 kB / 0.98 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.2216, allocations: 1.169 MB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.2217, allocations: 0 / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.2217, allocations: 3.984 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.033e-05/0.2218, allocations: 3.938 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.2225, allocations: 202.3 kB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.2227, allocations: 135.7 kB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.2228, allocations: 11.98 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.2229, allocations: 51.91 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.86e-05/0.223, allocations: 47.86 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.223, allocations: 8 kB / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.841e-05/0.2231, allocations: 23.98 kB / 0.9816 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.2231, allocations: 7.922 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.384e-05/0.2232, allocations: 41.7 kB / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.2233, allocations: 104 kB / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2233, allocations: 0 / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2233, allocations: 0 / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2233, allocations: 0 / 0.9818 GB, free: 25.33 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.0003758/0.2237, allocations: 406.7 kB / 0.9822 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.2238, allocations: 16.02 kB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.2238, allocations: 34.56 kB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.2239, allocations: 11.91 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.484e-05/0.224, allocations: 163 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.224, allocations: 15.94 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.224, allocations: 11.98 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.2241, allocations: 45.69 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2241, allocations: 0 / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.2242, allocations: 0 / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2242, allocations: 4 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.943e-05/0.2242, allocations: 11.98 kB / 0.9825 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.2246, allocations: 372.5 kB / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.588e-05/0.2247, allocations: 34.52 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.2248, allocations: 16.94 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.2248, allocations: 0 / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.2249, allocations: 75.38 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.2249, allocations: 0 / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002239/0.2251, allocations: 109.5 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.2252, allocations: 55.34 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/0.2253, allocations: 122 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.2253, allocations: 33.7 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.2254, allocations: 96.22 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.2254, allocations: 7.906 kB / 0.9834 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/0.2254, allocations: 4 kB / 0.9834 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.168e-05/0.2255, allocations: 318.8 kB / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.2256, allocations: 63.97 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.2257, allocations: 92.25 kB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.2259, allocations: 111.3 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2259, allocations: 4 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003463/0.2262, allocations: 264.8 kB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.2263, allocations: 67.39 kB / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2263, allocations: 0 / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.2263, allocations: 4 kB / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.405e-05/0.2263, allocations: 0 / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2264, allocations: 4.312 kB / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.2268, allocations: 79.98 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.2268, allocations: 15.95 kB / 0.9843 GB, free: 22.42 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 8.408e-05/0.2269, allocations: 126.2 kB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.2269, allocations: 11.91 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.2269, allocations: 8.359 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.2269, allocations: 0 / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.227, allocations: 0 / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.227, allocations: 7.938 kB / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.105e-05/0.2271, allocations: 177.6 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2271, allocations: 4.062 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-06/0.2271, allocations: 4 kB / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2271, allocations: 3.938 kB / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.2271, allocations: 0 / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2271, allocations: 3.984 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2271, allocations: 8 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.2272, allocations: 116.9 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.2273, allocations: 85.02 kB / 0.9849 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.2273, allocations: 0 / 0.9849 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.989e-05/0.2273, allocations: 3.984 kB / 0.9849 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.2274, allocations: 8 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.2274, allocations: 4 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.254e-05/0.2274, allocations: 91.27 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2274, allocations: 0 / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002281/0.2277, allocations: 28 kB / 0.985 GB, free: 21.65 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.0003439/0.228, allocations: 0.6553 MB / 0.9856 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002801/0.2283, allocations: 246.7 kB / 0.9859 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2283, allocations: 0 / 0.9859 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.111e-05/0.2284, allocations: 24 kB / 0.9859 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.2286, allocations: 15.98 kB / 0.9859 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009455/0.2295, allocations: 0.7032 MB / 0.9866 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.2297, allocations: 0.6926 MB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.9e-05/0.2297, allocations: 12.41 kB / 0.9873 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.2298, allocations: 19.42 kB / 0.9873 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/0.2298, allocations: 0 / 0.9873 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.2432, allocations: 2.582 MB / 0.9898 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/0.2434, allocations: 196.5 kB / 0.99 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/1.774, allocations: 0 / 0.99 GB, free: 16.48 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)