Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 3.026/3.026, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001865/0.001866, allocations: 180.9 kB / 361.4 MB, free: 6.863 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.686/2.686, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.001624/0.001624, allocations: 95.36 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.332e-05/6.367e-05, allocations: 8 kB / 0.8519 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14/1.14, allocations: 115.3 MB / 0.9645 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2884/1.428, allocations: 137.3 MB / 1.099 GB, free: 2.414 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.429, allocations: 71.95 kB / 1.099 GB, free: 2.344 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01278/1.441, allocations: 2.908 MB / 1.102 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.364e-06/1.441, allocations: 1.125 kB / 1.102 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.426e-05/1.441, allocations: 5.781 kB / 1.102 GB, free: 15.51 MB / 0.7136 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.0006365/1.442, allocations: 408.4 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/1.442, allocations: 8.031 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/1.442, allocations: 13.02 kB / 1.102 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/1.442, allocations: 171 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/1.443, allocations: 0 / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/1.443, allocations: 17.06 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.079e-05/1.443, allocations: 12 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/1.443, allocations: 41.69 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.443, allocations: 0 / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/1.443, allocations: 0 / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.443, allocations: 0 / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/1.443, allocations: 337.2 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.785e-05/1.444, allocations: 34.52 kB / 1.103 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.831e-05/1.444, allocations: 16.94 kB / 1.103 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/1.444, allocations: 6.375 kB / 1.103 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/1.444, allocations: 71.39 kB / 1.103 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/1.444, allocations: 0 / 1.103 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002755/1.444, allocations: 81.58 kB / 1.103 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/1.444, allocations: 59.39 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/1.444, allocations: 121 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/1.444, allocations: 29.7 kB / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/1.444, allocations: 92.23 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/1.445, allocations: 7.906 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/1.445, allocations: 8 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.445, allocations: 318.8 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/1.445, allocations: 51.98 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/1.445, allocations: 88.28 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/1.446, allocations: 64.59 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.446, allocations: 0 / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007365/1.446, allocations: 208.7 kB / 1.104 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.938e-05/1.446, allocations: 67.39 kB / 1.104 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/1.446, allocations: 4 kB / 1.104 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.447, allocations: 0 / 1.104 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.882e-05/1.447, allocations: 4 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/1.447, allocations: 3.938 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/1.447, allocations: 72.06 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.481e-05/1.447, allocations: 11.98 kB / 1.104 GB, free: 12.9 MB / 0.7136 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 0.0001326/1.447, allocations: 120.9 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001508/1.447, allocations: 69.59 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/1.447, allocations: 11.89 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.269e-05/1.447, allocations: 12.62 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/1.447, allocations: 0 / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.448, allocations: 0 / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.448, allocations: 0 / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/1.448, allocations: 154.2 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/1.448, allocations: 1.625 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.47e-05/1.448, allocations: 7.938 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/1.448, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/1.448, allocations: 7.984 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.448, allocations: 0 / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.448, allocations: 4 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/1.448, allocations: 97.08 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/1.448, allocations: 85 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/1.448, allocations: 0 / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.044e-05/1.448, allocations: 0 / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/1.448, allocations: 11.92 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/1.448, allocations: 8 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.404e-05/1.448, allocations: 88.5 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/1.448, allocations: 0 / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004121/1.449, allocations: 39.98 kB / 1.105 GB, free: 12.11 MB / 0.7136 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.0006671/1.449, allocations: 0.6537 MB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004227/1.45, allocations: 239.6 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.45, allocations: 0 / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.328e-05/1.45, allocations: 20 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/1.45, allocations: 18.14 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/1.451, allocations: 132.5 kB / 1.106 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/1.451, allocations: 0.6926 MB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.631e-05/1.451, allocations: 4 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.984e-05/1.451, allocations: 23.42 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/1.451, allocations: 0 / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.803/3.254, allocations: 2.141 MB / 1.108 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000373/3.255, allocations: 153.7 kB / 1.108 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.982/6.237, allocations: 4.5 kB / 1.108 GB, free: 7.957 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)