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.Nand.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.Nand,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",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.47/1.47, allocations: 288.4 MB / 303.6 MB, free: 8.098 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.000842/0.000842, allocations: 188.5 kB / 372.3 MB, free: 10.12 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.23/1.23, allocations: 205.4 MB / 0.631 GB, free: 9.91 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.000743/0.000743, allocations: 102.2 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003196, allocations: 12.81 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1513, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.0006045/0.152, allocations: 398.7 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009976/0.153, allocations: 1.165 MB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.153, allocations: 0 / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.173e-05/0.1531, allocations: 0 / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.112e-05/0.1531, allocations: 11.92 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.1537, allocations: 198.8 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.1538, allocations: 131.7 kB / 0.982 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.038e-05/0.1539, allocations: 8 kB / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.293e-05/0.1539, allocations: 59.88 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/0.154, allocations: 47.86 kB / 0.9822 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.1541, allocations: 8 kB / 0.9822 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.176e-05/0.1541, allocations: 19.98 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.1541, allocations: 8 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.1542, allocations: 81.53 kB / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.1543, allocations: 104 kB / 0.9824 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1543, allocations: 4 kB / 0.9824 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1543, allocations: 0 / 0.9824 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.1543, allocations: 0 / 0.9824 GB, free: 25.01 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.0003081/0.1547, allocations: 402.8 kB / 0.9828 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.1547, allocations: 8.031 kB / 0.9828 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.36e-05/0.1547, allocations: 30.75 kB / 0.9828 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.1548, allocations: 12.84 kB / 0.9828 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.218e-05/0.1548, allocations: 176.4 kB / 0.983 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1549, allocations: 8.375 kB / 0.983 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.1549, allocations: 16.31 kB / 0.983 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.82e-05/0.155, allocations: 50.17 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.155, allocations: 3.938 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.155, allocations: 4 kB / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.155, allocations: 0 / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.299e-05/0.1551, allocations: 15.98 kB / 0.9831 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.1554, allocations: 360.6 kB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.1555, allocations: 38.5 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.1555, allocations: 12.86 kB / 0.9835 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.906e-06/0.1555, allocations: 3.938 kB / 0.9835 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.1556, allocations: 79.45 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1556, allocations: 0 / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001815/0.1558, allocations: 113.5 kB / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.1559, allocations: 51.41 kB / 0.9837 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.236e-05/0.1559, allocations: 113.8 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.156, allocations: 33.7 kB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.156, allocations: 100 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.156, allocations: 3.906 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/0.156, allocations: 8 kB / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.649e-05/0.1561, allocations: 318.8 kB / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.1562, allocations: 63.95 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.1563, allocations: 92.27 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.1564, allocations: 164 kB / 0.9846 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1564, allocations: 0 / 0.9846 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003128/0.1568, allocations: 260.7 kB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.1568, allocations: 67.39 kB / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1568, allocations: 4 kB / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1568, allocations: 0 / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.761e-05/0.1569, allocations: 8 kB / 0.9849 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1569, allocations: 0 / 0.9849 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.1572, allocations: 79.91 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.1573, allocations: 11.98 kB / 0.985 GB, free: 22.04 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,nand1.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 6.606e-05/0.1574, allocations: 129.8 kB / 0.9851 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.1574, allocations: 11.98 kB / 0.9851 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.857e-05/0.1574, allocations: 8.312 kB / 0.9851 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1574, allocations: 4 kB / 0.9851 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1574, allocations: 0 / 0.9851 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1574, allocations: 0 / 0.9851 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.448e-05/0.1575, allocations: 189.5 kB / 0.9853 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1575, allocations: 0 / 0.9853 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.845e-06/0.1575, allocations: 4 kB / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1575, allocations: 0 / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1575, allocations: 4 kB / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1575, allocations: 0 / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1575, allocations: 3.938 kB / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.744e-05/0.1576, allocations: 105.1 kB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.1577, allocations: 89.02 kB / 0.9855 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.1577, allocations: 0 / 0.9855 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.912e-05/0.1577, allocations: 4 kB / 0.9855 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.1577, allocations: 11.92 kB / 0.9855 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1578, allocations: 8 kB / 0.9855 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.456e-05/0.1578, allocations: 91.27 kB / 0.9856 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.1578, allocations: 0 / 0.9856 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001984/0.158, allocations: 32.28 kB / 0.9856 GB, free: 21.27 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,nand1.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.0002535/0.1583, allocations: 0.6633 MB / 0.9863 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.1585, allocations: 246.7 kB / 0.9865 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1585, allocations: 0 / 0.9865 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.559e-05/0.1585, allocations: 32 kB / 0.9865 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.1587, allocations: 15.86 kB / 0.9866 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007872/0.1595, allocations: 0.7021 MB / 0.9872 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.18e-05/0.1596, allocations: 0.6887 MB / 0.9879 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.2e-05/0.1597, allocations: 4 kB / 0.9879 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.1597, allocations: 15.44 kB / 0.9879 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of SimCode: time 7.71e-07/0.1597, allocations: 4 kB / 0.9879 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2262/0.3859, allocations: 2.596 MB / 0.9905 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001385/0.386, allocations: 197.5 kB / 0.9907 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.487/1.873, allocations: 0 / 0.9907 GB, free: 16.09 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)