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 1.833/1.833, allocations: 288.2 MB / 303.2 MB, free: 8.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.001163/0.001163, allocations: 191.3 kB / 371.8 MB, free: 10.3 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.653/1.653, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0008307/0.0008308, allocations: 99.91 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004288, allocations: 16.34 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1983, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6628/0.8611, allocations: 138.1 MB / 1.114 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.8614, allocations: 71.5 kB / 1.114 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008144/0.8695, allocations: 2.937 MB / 1.117 GB, free: 31.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8696, allocations: 0 / 1.117 GB, free: 31.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.8696, allocations: 0 / 1.117 GB, free: 31.9 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.0004927/0.8701, allocations: 419.5 kB / 1.118 GB, free: 31.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.8701, allocations: 15.58 kB / 1.118 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.365e-05/0.8702, allocations: 30.56 kB / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.8703, allocations: 11.53 kB / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.8704, allocations: 174 kB / 1.118 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.8704, allocations: 10.56 kB / 1.118 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.8705, allocations: 11.75 kB / 1.118 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.8706, allocations: 45.22 kB / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.8706, allocations: 0 / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.8706, allocations: 0 / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.8706, allocations: 3.812 kB / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.437e-05/0.8707, allocations: 13 kB / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.8712, allocations: 360.7 kB / 1.118 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.239e-05/0.8713, allocations: 32.56 kB / 1.118 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.8713, allocations: 0 / 1.118 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.8715, allocations: 90.2 kB / 1.118 GB, free: 30.83 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.8715, allocations: 0 / 1.118 GB, free: 30.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000261/0.8718, allocations: 94.02 kB / 1.119 GB, free: 30.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.8718, allocations: 55.06 kB / 1.119 GB, free: 30.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.696e-05/0.8719, allocations: 121 kB / 1.119 GB, free: 30.63 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.872, allocations: 32.95 kB / 1.119 GB, free: 30.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.872, allocations: 90.48 kB / 1.119 GB, free: 30.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.8721, allocations: 15.36 kB / 1.119 GB, free: 30.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.8721, allocations: 7.156 kB / 1.119 GB, free: 30.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.8722, allocations: 320.8 kB / 1.119 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.8723, allocations: 57.97 kB / 1.119 GB, free: 30.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.8725, allocations: 100.5 kB / 1.119 GB, free: 30.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.8726, allocations: 107.8 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.8726, allocations: 0 / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003428/0.873, allocations: 259 kB / 1.12 GB, free: 29.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.873, allocations: 65.05 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.873, allocations: 7.938 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.873, allocations: 0 / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.923e-05/0.8731, allocations: 6.125 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.8731, allocations: 0 / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.8734, allocations: 74.33 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.8734, allocations: 18.42 kB / 1.12 GB, free: 29.9 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,nor1.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.0001039/0.8735, allocations: 120.7 kB / 1.12 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.8736, allocations: 10.97 kB / 1.12 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.8736, allocations: 7.875 kB / 1.12 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.8736, allocations: 4 kB / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8736, allocations: 3.875 kB / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8736, allocations: 0 / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.8737, allocations: 181.7 kB / 1.12 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.8737, allocations: 0 / 1.12 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-06/0.8738, allocations: 480 / 1.12 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.8738, allocations: 64 / 1.12 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.8738, allocations: 7.938 kB / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.8738, allocations: 7.156 kB / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.8738, allocations: 0 / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.8739, allocations: 118.2 kB / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.8739, allocations: 81.02 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.874, allocations: 7.016 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.897e-05/0.874, allocations: 0 / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.874, allocations: 6.547 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.874, allocations: 3 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.368e-05/0.8741, allocations: 89.53 kB / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8741, allocations: 0 / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002267/0.8743, allocations: 46.09 kB / 1.12 GB, free: 29.31 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,nor1.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.0004387/0.8748, allocations: 0.6564 MB / 1.121 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002836/0.8751, allocations: 241.3 kB / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8751, allocations: 0 / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.36e-05/0.8751, allocations: 29.48 kB / 1.121 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.8753, allocations: 13.81 kB / 1.121 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006665/0.876, allocations: 0.9994 MB / 1.122 GB, free: 27.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.8762, allocations: 0.693 MB / 1.123 GB, free: 26.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.757e-05/0.8763, allocations: 7.922 kB / 1.123 GB, free: 26.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.8763, allocations: 20.64 kB / 1.123 GB, free: 26.89 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.8763, allocations: 0 / 1.123 GB, free: 26.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01161/0.8879, allocations: 2.537 MB / 1.126 GB, free: 26.62 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001278/0.8881, allocations: 184.1 kB / 1.126 GB, free: 26.39 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.48, allocations: 3.938 kB / 1.126 GB, free: 26.39 MB / 0.698 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)