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.537/1.537, allocations: 249.3 MB / 261.8 MB, free: 6.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 184.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0009761/0.0009763, allocations: 87.94 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.126e-05/4.128e-05, allocations: 8 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2539, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7802/1.034, allocations: 131.4 MB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.034, allocations: 71.95 kB / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002628/1.037, allocations: 0.9002 MB / 1.021 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/1.037, allocations: 0 / 1.021 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.037, allocations: 8 kB / 1.021 GB, free: 2.496 MB / 0.6355 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.0004668/1.038, allocations: 351.3 kB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/1.038, allocations: 8.031 kB / 1.021 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.808e-05/1.038, allocations: 38.5 kB / 1.022 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/1.038, allocations: 3.906 kB / 1.022 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/1.038, allocations: 178.9 kB / 1.022 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/1.038, allocations: 8 kB / 1.022 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/1.038, allocations: 2.438 kB / 1.022 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/1.038, allocations: 56.78 kB / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/1.038, allocations: 0 / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/1.038, allocations: 0 / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/1.038, allocations: 4 kB / 1.022 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.76e-05/1.038, allocations: 18.56 kB / 1.022 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/1.039, allocations: 291.8 kB / 1.022 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/1.039, allocations: 49.23 kB / 1.022 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/1.039, allocations: 19.98 kB / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/1.039, allocations: 0 / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/1.039, allocations: 73.61 kB / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.367e-06/1.039, allocations: 6.734 kB / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001864/1.039, allocations: 68.75 kB / 1.022 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/1.039, allocations: 59.36 kB / 1.022 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/1.039, allocations: 107.8 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/1.04, allocations: 29.58 kB / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/1.04, allocations: 84.12 kB / 1.023 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/1.04, allocations: 15 kB / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/1.04, allocations: 3.375 kB / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.04, allocations: 310.8 kB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.979e-05/1.04, allocations: 22.31 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.525e-05/1.04, allocations: 36.69 kB / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.437e-05/1.04, allocations: 11.81 kB / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.04, allocations: 0 / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000122/1.04, allocations: 77.17 kB / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.04, allocations: 4 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.04, allocations: 4.062 kB / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/1.04, allocations: 4 kB / 1.023 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.083e-05/1.04, allocations: 14.61 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.04, allocations: 0 / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.108e-05/1.04, allocations: 19.94 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/1.04, allocations: 0 / 1.023 GB, free: 456 kB / 0.6355 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 () * 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 7.977e-05/1.04, allocations: 111.7 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/1.04, allocations: 11.91 kB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/1.04, allocations: 10.19 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.04, allocations: 0 / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.04, allocations: 3.938 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/1.04, allocations: 4 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/1.041, allocations: 172.7 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.041, allocations: 0 / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.179e-05/1.041, allocations: 7.312 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/1.041, allocations: 0 / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/1.041, allocations: 0 / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.041, allocations: 192 / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.041, allocations: 7.984 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/1.041, allocations: 111.7 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/1.041, allocations: 77.11 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/1.041, allocations: 0 / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/1.041, allocations: 19.73 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/1.041, allocations: 11.98 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/1.041, allocations: 3.984 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.933e-05/1.041, allocations: 90.97 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.041, allocations: 4 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001935/1.041, allocations: 11.44 kB / 1.024 GB, free: 15.74 MB / 0.6511 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 () * 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.0004715/1.042, allocations: 0.6364 MB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001198/1.042, allocations: 44.81 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.042, allocations: 0 / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.454e-05/1.042, allocations: 23.75 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/1.042, allocations: 18.31 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/1.043, allocations: 126.2 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/1.043, allocations: 0.6928 MB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.843e-05/1.043, allocations: 11.8 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.464e-05/1.043, allocations: 21.73 kB / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of SimCode: time 4.71e-07/1.043, allocations: 0 / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01209/1.055, allocations: 1.609 MB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/1.055, allocations: 160.3 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.614, allocations: 0 / 1.027 GB, free: 12.42 MB / 0.6511 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)