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.Nor.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.Nor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",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.041/3.041, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.003317/0.003317, allocations: 180.9 kB / 361.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.331/3.331, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.001466/0.001467, allocations: 99.31 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.967e-05/5.964e-05, allocations: 8 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271/1.271, allocations: 115.3 MB / 0.9645 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.342/1.613, allocations: 137.3 MB / 1.099 GB, free: 2.387 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004674/1.614, allocations: 71.95 kB / 1.099 GB, free: 2.316 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01632/1.63, allocations: 2.903 MB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.809e-06/1.63, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.467e-05/1.63, allocations: 0 / 1.101 GB, free: 15.48 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.0009088/1.631, allocations: 407 kB / 1.102 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 9.548e-05/1.631, allocations: 16.02 kB / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/1.631, allocations: 9.031 kB / 1.102 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/1.632, allocations: 167 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/1.632, allocations: 4 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.317e-05/1.632, allocations: 8 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001372/1.632, allocations: 15.94 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/1.632, allocations: 45.69 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/1.632, allocations: 0 / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/1.632, allocations: 7.969 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/1.632, allocations: 0 / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008684/1.633, allocations: 333.2 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/1.633, allocations: 30.67 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.011e-05/1.633, allocations: 20.78 kB / 1.103 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/1.633, allocations: 0 / 1.103 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002631/1.634, allocations: 78.42 kB / 1.103 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/1.634, allocations: 0 / 1.103 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000365/1.634, allocations: 83.28 kB / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/1.634, allocations: 51.41 kB / 1.103 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/1.634, allocations: 113.1 kB / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.698e-05/1.634, allocations: 33.64 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/1.634, allocations: 96.17 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/1.634, allocations: 11.89 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/1.634, allocations: 7.984 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002413/1.635, allocations: 322.8 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/1.635, allocations: 54.61 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/1.635, allocations: 85.66 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005927/1.636, allocations: 63.94 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.636, allocations: 0 / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009732/1.637, allocations: 205.4 kB / 1.104 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/1.637, allocations: 67.39 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/1.637, allocations: 4 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/1.637, allocations: 0.6875 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.002e-05/1.637, allocations: 4 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/1.637, allocations: 0 / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005958/1.638, allocations: 72.06 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.579e-05/1.638, allocations: 15.98 kB / 1.104 GB, free: 12.87 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,nor1.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.0002086/1.638, allocations: 122.4 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002174/1.638, allocations: 76.52 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/1.638, allocations: 7.906 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.418e-05/1.638, allocations: 8.625 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/1.638, allocations: 6.625 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.638, allocations: 0 / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.639, allocations: 0 / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/1.639, allocations: 150.2 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.639, allocations: 0 / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.478e-05/1.639, allocations: 15.92 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/1.639, allocations: 0 / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/1.639, allocations: 0 / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/1.639, allocations: 0 / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.639, allocations: 0 / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/1.639, allocations: 105 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-05/1.639, allocations: 85.02 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/1.639, allocations: 0 / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.048e-05/1.639, allocations: 4 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/1.639, allocations: 7.984 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/1.64, allocations: 11.94 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.101e-05/1.64, allocations: 83.28 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.11e-07/1.64, allocations: 0 / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004845/1.64, allocations: 39.98 kB / 1.105 GB, free: 12.07 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,nor1.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.0008648/1.641, allocations: 0.6526 MB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005783/1.642, allocations: 241.8 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.642, allocations: 0 / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.486e-05/1.642, allocations: 24 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/1.642, allocations: 7.984 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007183/1.643, allocations: 140.8 kB / 1.106 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/1.643, allocations: 0.6885 MB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.108e-05/1.643, allocations: 4 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/1.643, allocations: 23.42 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/1.643, allocations: 0 / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.333/2.977, allocations: 2.15 MB / 1.108 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003585/2.977, allocations: 148.1 kB / 1.108 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.264/6.241, allocations: 0.75 kB / 1.108 GB, free: 7.93 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)