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.436/1.436, allocations: 249.5 MB / 257 MB, free: 6.949 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.0009641/0.0009641, allocations: 172.9 kB / 316.3 MB, free: 3.223 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.592/1.592, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0009382/0.0009384, allocations: 89.8 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.021e-05/2.03e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1782, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6096/0.7879, allocations: 131.7 MB / 1.014 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001802/0.7881, allocations: 68.27 kB / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002235/0.7903, allocations: 0.896 MB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7904, allocations: 0 / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.7904, allocations: 4 kB / 1.015 GB, free: 4.898 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.0003907/0.7908, allocations: 357.5 kB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.7908, allocations: 8.781 kB / 1.015 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.7909, allocations: 7.906 kB / 1.015 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.791, allocations: 174.4 kB / 1.015 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.791, allocations: 0 / 1.015 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.791, allocations: 7.984 kB / 1.015 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.666e-05/0.7911, allocations: 21.38 kB / 1.015 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.177e-05/0.7912, allocations: 42.5 kB / 1.015 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.7912, allocations: 0 / 1.015 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.7912, allocations: 3.938 kB / 1.015 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.7913, allocations: 8 kB / 1.015 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.7916, allocations: 259 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.567e-05/0.7917, allocations: 40.64 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.7918, allocations: 18.55 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.7918, allocations: 3.938 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.7919, allocations: 69.58 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.514e-06/0.7919, allocations: 0 / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000167/0.7921, allocations: 62.98 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.7921, allocations: 51.41 kB / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.752e-05/0.7922, allocations: 115 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.7922, allocations: 25.7 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.7923, allocations: 83.27 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.7923, allocations: 15.81 kB / 1.016 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.7923, allocations: 0 / 1.016 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.7924, allocations: 326.1 kB / 1.016 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.7925, allocations: 13.94 kB / 1.016 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.682e-05/0.7925, allocations: 32.97 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.622e-05/0.7925, allocations: 15.48 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7925, allocations: 0 / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001037/0.7927, allocations: 72.56 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.7927, allocations: 4 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.7927, allocations: 0 / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.7927, allocations: 7.984 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.86e-05/0.7928, allocations: 5.562 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.7928, allocations: 0 / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.474e-05/0.7929, allocations: 15.98 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.7929, allocations: 4.062 kB / 1.017 GB, free: 2.953 MB / 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 6.61e-05/0.7929, allocations: 118.5 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.431e-05/0.793, allocations: 64.03 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.7931, allocations: 7.906 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.7931, allocations: 7.938 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.7931, allocations: 4 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.7931, allocations: 3.938 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.7931, allocations: 3.984 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.7932, allocations: 153.1 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7932, allocations: 4 kB / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-05/0.7933, allocations: 5 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.7933, allocations: 0 / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.7933, allocations: 3.938 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7933, allocations: 0 / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7933, allocations: 0 / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.7934, allocations: 102.9 kB / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.7935, allocations: 81.02 kB / 1.017 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.7935, allocations: 5.25 kB / 1.017 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.829e-05/0.7936, allocations: 15.98 kB / 1.017 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.7936, allocations: 11.36 kB / 1.017 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.7936, allocations: 4 kB / 1.017 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.616e-05/0.7937, allocations: 86.33 kB / 1.017 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7937, allocations: 0 / 1.017 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001908/0.7939, allocations: 12 kB / 1.017 GB, free: 2.223 MB / 0.6355 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.0003775/0.7943, allocations: 0.6358 MB / 1.018 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.829e-05/0.7944, allocations: 38.92 kB / 1.018 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.7944, allocations: 4 kB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.102e-05/0.7944, allocations: 20.52 kB / 1.018 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.7946, allocations: 19.73 kB / 1.018 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.7949, allocations: 118.9 kB / 1.018 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.7952, allocations: 0.6885 MB / 1.019 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.858e-05/0.7952, allocations: 7.859 kB / 1.019 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.7952, allocations: 17.88 kB / 1.019 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of SimCode: time 2.71e-07/0.7953, allocations: 3.938 kB / 1.019 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.8153, allocations: 1.277 MB / 1.02 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002614/0.8156, allocations: 149.4 kB / 1.02 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.404/2.22, allocations: 0 / 1.02 GB, free: 15.18 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)