Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.808/1.808, allocations: 292.6 MB / 307.5 MB, free: 5.125 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.001225/0.001225, allocations: 181.1 kB / 377.1 MB, free: 1.445 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.646/1.646, allocations: 205.4 MB / 0.6366 GB, free: 8.602 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000827/0.0008273, allocations: 89.55 kB / 0.7509 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003528, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2692, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6696/0.9388, allocations: 139.1 MB / 1.124 GB, free: 35.58 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.9392, allocations: 70.5 kB / 1.124 GB, free: 35.52 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008106/0.9473, allocations: 2.921 MB / 1.127 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.737e-06/0.9473, allocations: 4 kB / 1.127 GB, free: 33.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.9473, allocations: 4.562 kB / 1.127 GB, free: 33.43 MB / 0.7292 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.000352/0.9477, allocations: 423 kB / 1.128 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.9477, allocations: 16.02 kB / 1.128 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.572e-05/0.9478, allocations: 30.56 kB / 1.128 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.9478, allocations: 13.97 kB / 1.128 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.024e-05/0.9479, allocations: 164.1 kB / 1.128 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.9479, allocations: 7.469 kB / 1.128 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.948, allocations: 19.44 kB / 1.128 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.507e-05/0.9481, allocations: 50.66 kB / 1.128 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.9481, allocations: 0.9844 kB / 1.128 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.9481, allocations: 3.422 kB / 1.128 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.9481, allocations: 0 / 1.128 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.502e-05/0.9482, allocations: 12 kB / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.9486, allocations: 351.7 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.46e-05/0.9487, allocations: 32.92 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.9487, allocations: 4 kB / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.9489, allocations: 85.89 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.805e-06/0.9489, allocations: 5.062 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.000281/0.9492, allocations: 100.8 kB / 1.128 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.9492, allocations: 55.91 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.281e-05/0.9493, allocations: 113.2 kB / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.9493, allocations: 34.83 kB / 1.129 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.9493, allocations: 88.33 kB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.9494, allocations: 19.28 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/0.9494, allocations: 4 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.009e-05/0.9494, allocations: 318.8 kB / 1.129 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.9496, allocations: 62.59 kB / 1.129 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.9497, allocations: 86.98 kB / 1.129 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.9498, allocations: 119.6 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9498, allocations: 0 / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003483/0.9502, allocations: 267.1 kB / 1.13 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.9502, allocations: 71.66 kB / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.9502, allocations: 0 / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.9502, allocations: 0 / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.691e-05/0.9503, allocations: 8.125 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.9503, allocations: 0 / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.9506, allocations: 74.17 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.9506, allocations: 11.56 kB / 1.13 GB, free: 30.74 MB / 0.7292 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 7.404e-05/0.9507, allocations: 127 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.9507, allocations: 7.906 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.9508, allocations: 12.31 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.9508, allocations: 0 / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9508, allocations: 0.75 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.9508, allocations: 4 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.118e-05/0.9509, allocations: 180 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.9509, allocations: 1.172 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-05/0.9509, allocations: 4.234 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.9509, allocations: 0 / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.9509, allocations: 4 kB / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.9509, allocations: 0 / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.951, allocations: 0 / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.9511, allocations: 109.8 kB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.9511, allocations: 88.95 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.9511, allocations: 4.594 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/0.9511, allocations: 4 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.9512, allocations: 11.41 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.9512, allocations: 4 kB / 1.13 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.757e-05/0.9512, allocations: 91.5 kB / 1.13 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9512, allocations: 0 / 1.13 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002304/0.9515, allocations: 35.94 kB / 1.13 GB, free: 30.01 MB / 0.7292 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.0002963/0.9518, allocations: 0.6638 MB / 1.131 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.952, allocations: 240.6 kB / 1.131 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9521, allocations: 0 / 1.131 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.9521, allocations: 32 kB / 1.131 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.9523, allocations: 20.33 kB / 1.131 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.9528, allocations: 0.9915 MB / 1.132 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.953, allocations: 0.6878 MB / 1.133 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.753e-05/0.953, allocations: 11.47 kB / 1.133 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.9531, allocations: 19.44 kB / 1.133 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/0.9531, allocations: 0 / 1.133 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01244/0.9655, allocations: 2.528 MB / 1.135 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.9658, allocations: 183.6 kB / 1.136 GB, free: 25.68 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/2.511, allocations: 0 / 1.136 GB, free: 25.68 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)