Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 3.153/3.153, allocations: 287.3 MB / 302.3 MB, free: 8.371 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.002252/0.002252, allocations: 186.9 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.4 MB / 0.6295 GB, free: 10.56 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.001054/0.001054, allocations: 91.66 kB / 0.7428 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004751, allocations: 13.8 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2164, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9787/1.195, allocations: 137.9 MB / 1.113 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.195, allocations: 73.42 kB / 1.113 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01443/1.21, allocations: 2.927 MB / 1.116 GB, free: 31.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.454e-06/1.21, allocations: 0 / 1.116 GB, free: 31.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.034e-05/1.21, allocations: 0 / 1.116 GB, free: 31.52 MB / 0.698 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.0005701/1.211, allocations: 416.9 kB / 1.116 GB, free: 31.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/1.211, allocations: 15.48 kB / 1.116 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/1.211, allocations: 34.56 kB / 1.116 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/1.211, allocations: 14.55 kB / 1.116 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/1.211, allocations: 170.9 kB / 1.117 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/1.211, allocations: 7.719 kB / 1.117 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/1.211, allocations: 10.88 kB / 1.117 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/1.211, allocations: 42.86 kB / 1.117 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/1.211, allocations: 0 / 1.117 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/1.211, allocations: 10.3 kB / 1.117 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.211, allocations: 0 / 1.117 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.428e-05/1.211, allocations: 14.66 kB / 1.117 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/1.212, allocations: 361 kB / 1.117 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.144e-05/1.212, allocations: 28.86 kB / 1.117 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/1.212, allocations: 0 / 1.117 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/1.212, allocations: 85.14 kB / 1.117 GB, free: 30.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/1.212, allocations: 11.78 kB / 1.117 GB, free: 30.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003151/1.213, allocations: 100.1 kB / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/1.213, allocations: 58.58 kB / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/1.213, allocations: 114.3 kB / 1.117 GB, free: 30.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/1.213, allocations: 32.8 kB / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.982e-05/1.213, allocations: 90.7 kB / 1.117 GB, free: 30.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/1.213, allocations: 15.03 kB / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/1.213, allocations: 0 / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.213, allocations: 324.9 kB / 1.118 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/1.213, allocations: 54.7 kB / 1.118 GB, free: 29.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/1.214, allocations: 100.5 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/1.214, allocations: 109.8 kB / 1.118 GB, free: 29.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/1.214, allocations: 0 / 1.118 GB, free: 29.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006245/1.214, allocations: 260.2 kB / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.164e-05/1.215, allocations: 65.75 kB / 1.118 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.215, allocations: 3.875 kB / 1.118 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/1.215, allocations: 3.984 kB / 1.118 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.85e-05/1.215, allocations: 7.531 kB / 1.118 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/1.215, allocations: 3.281 kB / 1.118 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005798/1.215, allocations: 73.34 kB / 1.118 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/1.215, allocations: 18.2 kB / 1.118 GB, free: 29.52 MB / 0.698 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 0.0001406/1.215, allocations: 128.6 kB / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/1.215, allocations: 7.656 kB / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/1.216, allocations: 10.66 kB / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.216, allocations: 0 / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.216, allocations: 0 / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.216, allocations: 3.281 kB / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/1.216, allocations: 178.9 kB / 1.119 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.216, allocations: 0 / 1.119 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.424e-05/1.216, allocations: 4.062 kB / 1.119 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.216, allocations: 0 / 1.119 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/1.216, allocations: 11.34 kB / 1.119 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.216, allocations: 0 / 1.119 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.216, allocations: 0 / 1.119 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/1.216, allocations: 110 kB / 1.119 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/1.216, allocations: 84.95 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/1.216, allocations: 7.062 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.204e-05/1.216, allocations: 0 / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/1.216, allocations: 9.328 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/1.216, allocations: 4 kB / 1.119 GB, free: 29.01 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.178e-05/1.216, allocations: 89.3 kB / 1.119 GB, free: 28.94 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.216, allocations: 0 / 1.119 GB, free: 28.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000341/1.217, allocations: 42.47 kB / 1.119 GB, free: 28.93 MB / 0.698 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.0005343/1.217, allocations: 0.6536 MB / 1.12 GB, free: 28.33 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005093/1.218, allocations: 246.1 kB / 1.12 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.218, allocations: 3.938 kB / 1.12 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/1.218, allocations: 24.2 kB / 1.12 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/1.218, allocations: 16.28 kB / 1.12 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/1.219, allocations: 1.004 MB / 1.121 GB, free: 27.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/1.22, allocations: 0.6913 MB / 1.122 GB, free: 26.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.566e-05/1.22, allocations: 3.875 kB / 1.122 GB, free: 26.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/1.22, allocations: 19.19 kB / 1.122 GB, free: 26.51 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/1.22, allocations: 0 / 1.122 GB, free: 26.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/1.245, allocations: 2.532 MB / 1.124 GB, free: 26.24 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/1.245, allocations: 176.7 kB / 1.124 GB, free: 26 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/3.625, allocations: 3.906 kB / 1.124 GB, free: 26 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)