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 2.109/2.109, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001625/0.001625, allocations: 180.1 kB / 371.6 MB, free: 3.371 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.759/1.759, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0009113/0.0009116, allocations: 89.53 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.332e-05/4.336e-05, allocations: 4 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2611, allocations: 116.3 MB / 0.9799 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8378/1.099, allocations: 139 MB / 1.116 GB, free: 44.73 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/1.099, allocations: 75.44 kB / 1.116 GB, free: 44.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.007681/1.107, allocations: 2.911 MB / 1.119 GB, free: 43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.263e-06/1.107, allocations: 0 / 1.119 GB, free: 43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.562e-06/1.107, allocations: 0 / 1.119 GB, free: 43 MB / 0.7448 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.00031/1.107, allocations: 406.5 kB / 1.119 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/1.107, allocations: 12.03 kB / 1.119 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/1.107, allocations: 37.75 kB / 1.119 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/1.107, allocations: 12.72 kB / 1.119 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.155e-05/1.107, allocations: 163.9 kB / 1.119 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/1.108, allocations: 7.266 kB / 1.119 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/1.108, allocations: 16.11 kB / 1.119 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.837e-05/1.108, allocations: 49.03 kB / 1.119 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/1.108, allocations: 4 kB / 1.119 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/1.108, allocations: 0 / 1.119 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/1.108, allocations: 0 / 1.119 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.733e-05/1.108, allocations: 11.44 kB / 1.119 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/1.108, allocations: 364 kB / 1.12 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.22e-05/1.108, allocations: 33.64 kB / 1.12 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.584e-05/1.108, allocations: 16.11 kB / 1.12 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/1.108, allocations: 1.688 kB / 1.12 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/1.108, allocations: 76.11 kB / 1.12 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/1.108, allocations: 0 / 1.12 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001935/1.109, allocations: 92.58 kB / 1.12 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/1.109, allocations: 51.41 kB / 1.12 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/1.109, allocations: 116.9 kB / 1.12 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/1.109, allocations: 33.02 kB / 1.12 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/1.109, allocations: 91.23 kB / 1.12 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/1.109, allocations: 15.8 kB / 1.12 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/1.109, allocations: 11.81 kB / 1.12 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.109, allocations: 321.9 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/1.109, allocations: 56.08 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/1.109, allocations: 92.62 kB / 1.121 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/1.109, allocations: 111.9 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.109, allocations: 4 kB / 1.121 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003393/1.11, allocations: 255.2 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/1.11, allocations: 67.89 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.11, allocations: 0.625 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/1.11, allocations: 4.656 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.732e-05/1.11, allocations: 0 / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/1.11, allocations: 5.016 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/1.11, allocations: 72.75 kB / 1.121 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/1.11, allocations: 20.05 kB / 1.121 GB, free: 40.52 MB / 0.7448 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 () * 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 6.889e-05/1.11, allocations: 116.3 kB / 1.121 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/1.11, allocations: 7.906 kB / 1.121 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/1.11, allocations: 8.781 kB / 1.121 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1.11, allocations: 4.75 kB / 1.121 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.11, allocations: 3.469 kB / 1.121 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.11, allocations: 0 / 1.121 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.324e-05/1.11, allocations: 175.5 kB / 1.121 GB, free: 40.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.11, allocations: 7.516 kB / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.065e-06/1.11, allocations: 0 / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.11, allocations: 1.031 kB / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/1.11, allocations: 4.688 kB / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.11, allocations: 0 / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.11, allocations: 0 / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/1.111, allocations: 112.6 kB / 1.121 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/1.111, allocations: 82.12 kB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/1.111, allocations: 8.172 kB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/1.111, allocations: 7.5 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/1.111, allocations: 11.31 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/1.111, allocations: 0 / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.89e-05/1.111, allocations: 87.72 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.111, allocations: 0 / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000213/1.111, allocations: 43.3 kB / 1.122 GB, free: 39.84 MB / 0.7448 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 () * 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.0004029/1.111, allocations: 0.6628 MB / 1.122 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002841/1.112, allocations: 248.1 kB / 1.123 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.112, allocations: 0 / 1.123 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/1.112, allocations: 23.95 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/1.112, allocations: 12.36 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/1.112, allocations: 140.6 kB / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/1.112, allocations: 0.6886 MB / 1.123 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.722e-05/1.112, allocations: 4 kB / 1.123 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/1.112, allocations: 18 kB / 1.123 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/1.112, allocations: 0 / 1.123 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01256/1.125, allocations: 2.561 MB / 1.126 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/1.125, allocations: 149.8 kB / 1.126 GB, free: 36.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.79, allocations: 0 / 1.126 GB, free: 36.48 MB / 0.7448 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)