Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, allocations: 252 MB / 267 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 184.6 kB / 326.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.906/1.906, allocations: 205.4 MB / 0.5777 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009511/0.0009512, allocations: 81.92 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003536, allocations: 13.09 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.244, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001511/0.2455, allocations: 1.089 MB / 0.9014 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003988/0.246, allocations: 196.4 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.15e-05/0.246, allocations: 0 / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.2461, allocations: 7.938 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.535e-05/0.2461, allocations: 15.91 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.2463, allocations: 8 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.527e-05/0.2464, allocations: 55.78 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.823e-05/0.2465, allocations: 7.984 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.2465, allocations: 15.94 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.204e-05/0.2466, allocations: 15.92 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.2466, allocations: 4 kB / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.2466, allocations: 4 kB / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.2467, allocations: 15.91 kB / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.2467, allocations: 37.64 kB / 0.9018 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.292e-05/0.2468, allocations: 35.92 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2468, allocations: 0 / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2468, allocations: 0 / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.2468, allocations: 0 / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005049/0.2473, allocations: 367.5 kB / 0.9021 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2474, allocations: 8.031 kB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.436e-05/0.2474, allocations: 34.56 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.2474, allocations: 3.984 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.2475, allocations: 178.9 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.2476, allocations: 4 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.2476, allocations: 0 / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.2477, allocations: 61.59 kB / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.2477, allocations: 0 / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.2477, allocations: 4 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.2477, allocations: 4 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.67e-05/0.2478, allocations: 19.98 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.2481, allocations: 288.8 kB / 0.9027 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.246e-05/0.2482, allocations: 46.5 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.747e-05/0.2483, allocations: 16.98 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.2483, allocations: 8 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.2484, allocations: 63.38 kB / 0.9028 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.2484, allocations: 0 / 0.9028 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0001897/0.2486, allocations: 89.53 kB / 0.9029 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.2487, allocations: 59.36 kB / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.54e-05/0.2488, allocations: 117.8 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.2488, allocations: 25.7 kB / 0.9031 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.2488, allocations: 96.11 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.2488, allocations: 11.91 kB / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.2488, allocations: 0 / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.105e-05/0.2489, allocations: 318.8 kB / 0.9035 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.61e-05/0.2489, allocations: 12 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.503e-05/0.249, allocations: 34.56 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.963e-05/0.249, allocations: 20 kB / 0.9036 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.249, allocations: 3.938 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.792e-05/0.2491, allocations: 77.53 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2491, allocations: 4 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2492, allocations: 4 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.2492, allocations: 3.938 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.646e-05/0.2492, allocations: 4 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.2492, allocations: 0 / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.073e-05/0.2493, allocations: 27.94 kB / 0.9037 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.2493, allocations: 4 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.32e-05/0.2494, allocations: 119.7 kB / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.2494, allocations: 3.906 kB / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.2495, allocations: 12.38 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2495, allocations: 0 / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2495, allocations: 0 / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2495, allocations: 0 / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.2496, allocations: 189.6 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2496, allocations: 0 / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.025e-05/0.2496, allocations: 3.938 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.2496, allocations: 4 kB / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.2496, allocations: 4.188 kB / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2496, allocations: 0 / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2497, allocations: 3.938 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.2498, allocations: 101.7 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.2498, allocations: 81.11 kB / 0.9042 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.2498, allocations: 4 kB / 0.9042 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.2499, allocations: 15.98 kB / 0.9042 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.25, allocations: 7.984 kB / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.25, allocations: 7.984 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.155e-05/0.25, allocations: 91.34 kB / 0.9043 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.25, allocations: 0 / 0.9043 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001773/0.2502, allocations: 12 kB / 0.9044 GB, free: 59.31 MB / 0.6042 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.000289/0.2505, allocations: 0.6435 MB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.721e-05/0.2506, allocations: 47.92 kB / 0.905 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2506, allocations: 0 / 0.905 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-05/0.2507, allocations: 19.98 kB / 0.905 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.2509, allocations: 20.06 kB / 0.9051 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005919/0.2515, allocations: 0.498 MB / 0.9056 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.2516, allocations: 0.6917 MB / 0.9062 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.106e-05/0.2516, allocations: 0 / 0.9062 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.2517, allocations: 15.44 kB / 0.9062 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/0.2517, allocations: 0 / 0.9062 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.2646, allocations: 1.606 MB / 0.9078 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/0.2648, allocations: 202.7 kB / 0.908 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/1.893, allocations: 5.625 kB / 0.908 GB, free: 55.55 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)