Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.445/1.445, allocations: 287.4 MB / 302.6 MB, free: 8.227 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.0009774/0.0009771, allocations: 181.2 kB / 371.1 MB, free: 10.84 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.153/1.153, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0006719/0.0006719, allocations: 94.42 kB / 0.7431 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003017, allocations: 13.2 kB / 0.8662 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1474, allocations: 115.3 MB / 0.9788 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.0007329/0.1482, allocations: 350.6 kB / 0.9791 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1494, allocations: 1.086 MB / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.1494, allocations: 0 / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.1495, allocations: 3.938 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.1495, allocations: 3.984 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.1499, allocations: 110.6 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.873e-05/0.1499, allocations: 75.88 kB / 0.9803 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.358e-05/0.15, allocations: 0 / 0.9803 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.981e-05/0.1501, allocations: 35.91 kB / 0.9804 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.341e-05/0.1501, allocations: 19.97 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.1502, allocations: 4 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.659e-05/0.1502, allocations: 27.91 kB / 0.9804 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.1502, allocations: 0 / 0.9804 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.1503, allocations: 33.7 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.494e-05/0.1504, allocations: 51.88 kB / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1504, allocations: 0 / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1504, allocations: 4 kB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.1504, allocations: 0 / 0.9805 GB, free: 26.26 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002966/0.1507, allocations: 363.7 kB / 0.9809 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1508, allocations: 8.031 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.362e-05/0.1508, allocations: 34.75 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.1508, allocations: 0.9375 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.016e-05/0.1509, allocations: 172.3 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1509, allocations: 4.375 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.151, allocations: 4.375 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.286e-05/0.1511, allocations: 42.25 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1511, allocations: 7.938 kB / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1511, allocations: 0 / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1511, allocations: 0 / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.565e-05/0.1511, allocations: 12 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.1515, allocations: 292.7 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.771e-05/0.1515, allocations: 22.52 kB / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.621e-05/0.1515, allocations: 8.859 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.1516, allocations: 4.062 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001238/0.1517, allocations: 59.38 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.1517, allocations: 0 / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000169/0.1519, allocations: 61.62 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.1519, allocations: 55.41 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.539e-05/0.152, allocations: 109.8 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.152, allocations: 33.7 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.1521, allocations: 88.05 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.628e-06/0.1521, allocations: 3.938 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/0.1521, allocations: 3.938 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.159e-05/0.1521, allocations: 326.8 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.453e-05/0.1522, allocations: 23.98 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.43e-05/0.1523, allocations: 50.56 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.1524, allocations: 80.2 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1525, allocations: 4 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002621/0.1527, allocations: 143.4 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.1528, allocations: 37.69 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1528, allocations: 0 / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1528, allocations: 3.984 kB / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.434e-05/0.1528, allocations: 4.094 kB / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.1528, allocations: 4 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.1531, allocations: 35.97 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.1532, allocations: 11.98 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.456e-05/0.1532, allocations: 127 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.1533, allocations: 4 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.1533, allocations: 3.5 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1533, allocations: 4 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1533, allocations: 0 / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1533, allocations: 0 / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8e-05/0.1534, allocations: 161.6 kB / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1534, allocations: 0 / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-06/0.1534, allocations: 4 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1534, allocations: 0 / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1535, allocations: 0 / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1535, allocations: 4 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1535, allocations: 320 / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.21e-05/0.1536, allocations: 80.97 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.1536, allocations: 85.09 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.1536, allocations: 4 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.029e-05/0.1537, allocations: 0 / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.1537, allocations: 7.875 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.1537, allocations: 8 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.284e-05/0.1537, allocations: 87.27 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1537, allocations: 0 / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002868/0.154, allocations: 16 kB / 0.9831 GB, free: 23.24 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002708/0.1543, allocations: 0.6163 MB / 0.9837 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.1545, allocations: 123.3 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1545, allocations: 0 / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-05/0.1546, allocations: 12 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.1548, allocations: 11.92 kB / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007749/0.1556, allocations: 498.2 kB / 0.9843 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.661e-05/0.1557, allocations: 0.677 MB / 0.985 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.064e-05/0.1557, allocations: 4 kB / 0.985 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.1558, allocations: 11.44 kB / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.1558, allocations: 0 / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3316/0.4874, allocations: 1.681 MB / 0.9866 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.4876, allocations: 184.7 kB / 0.9868 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.328, allocations: 0 / 0.9868 GB, free: 19.39 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1)