Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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 1.641/1.641, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.001264/0.001263, allocations: 172.8 kB / 366.7 MB, free: 1.695 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.869/1.869, allocations: 205.3 MB / 0.626 GB, free: 7.176 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.0008481/0.0008481, allocations: 87.98 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.624e-05, allocations: 8 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7652/0.7652, allocations: 116.3 MB / 0.9734 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.211/0.9763, allocations: 138.4 MB / 1.108 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.9766, allocations: 69.44 kB / 1.109 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01368/0.9903, allocations: 4.042 MB / 1.112 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9904, allocations: 0 / 1.112 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.9904, allocations: 0 / 1.112 GB, free: 7.684 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000549/0.9909, allocations: 455.5 kB / 1.113 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.991, allocations: 12.03 kB / 1.113 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.9911, allocations: 11.91 kB / 1.113 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.9912, allocations: 174.9 kB / 1.113 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.9912, allocations: 4 kB / 1.113 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.9913, allocations: 15.98 kB / 1.113 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.147e-05/0.9914, allocations: 12 kB / 1.113 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.9915, allocations: 52.34 kB / 1.113 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.9915, allocations: 0 / 1.113 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.9915, allocations: 8 kB / 1.113 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.9915, allocations: 0 / 1.113 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.9921, allocations: 394.8 kB / 1.114 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.989e-05/0.9922, allocations: 34.52 kB / 1.114 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.749e-05/0.9922, allocations: 16.86 kB / 1.114 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.9922, allocations: 4 kB / 1.114 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.9924, allocations: 87.45 kB / 1.114 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.9924, allocations: 0 / 1.114 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002863/0.9927, allocations: 109.5 kB / 1.114 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.9928, allocations: 51.41 kB / 1.114 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.9929, allocations: 126.8 kB / 1.114 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.773e-05/0.993, allocations: 40.23 kB / 1.114 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.67e-05/0.993, allocations: 92.14 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.9931, allocations: 27.77 kB / 1.114 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.9931, allocations: 4 kB / 1.114 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.9933, allocations: 326.7 kB / 1.114 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.9934, allocations: 75.98 kB / 1.115 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.9936, allocations: 125.9 kB / 1.115 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.9941, allocations: 97.66 kB / 1.115 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.9941, allocations: 4 kB / 1.115 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006873/0.9948, allocations: 281.3 kB / 1.115 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.941e-05/0.9949, allocations: 101.1 kB / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.9949, allocations: 3.984 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.9949, allocations: 4 kB / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.35e-05/0.995, allocations: 4 kB / 1.115 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.995, allocations: 3.938 kB / 1.115 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004598/0.9954, allocations: 108.1 kB / 1.115 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.9955, allocations: 19.98 kB / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001157/0.9956, allocations: 116.9 kB / 1.115 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001365/0.9958, allocations: 104 kB / 1.115 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.9958, allocations: 11.89 kB / 1.115 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.9958, allocations: 8.625 kB / 1.115 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.9958, allocations: 11.36 kB / 1.115 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9958, allocations: 4 kB / 1.115 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.9959, allocations: 3.953 kB / 1.115 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.996, allocations: 158.2 kB / 1.116 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.996, allocations: 0 / 1.116 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/0.996, allocations: 4 kB / 1.116 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.996, allocations: 0 / 1.116 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.996, allocations: 7.984 kB / 1.116 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.9961, allocations: 0 / 1.116 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9961, allocations: 3.938 kB / 1.116 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.9962, allocations: 129 kB / 1.116 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.9963, allocations: 85.02 kB / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.9963, allocations: 3.984 kB / 1.116 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.165e-05/0.9963, allocations: 0 / 1.116 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.9964, allocations: 11.92 kB / 1.116 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.9964, allocations: 8 kB / 1.116 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.227e-05/0.9965, allocations: 96.81 kB / 1.116 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9965, allocations: 0 / 1.116 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00026/0.9968, allocations: 55.88 kB / 1.116 GB, free: 3.719 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005501/0.9973, allocations: 0.6725 MB / 1.117 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004319/0.9978, allocations: 342.8 kB / 1.117 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9978, allocations: 384 / 1.117 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.244e-05/0.9978, allocations: 39.92 kB / 1.117 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.9981, allocations: 21.95 kB / 1.117 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.9985, allocations: 153.8 kB / 1.117 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.9988, allocations: 0.7001 MB / 1.118 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.234e-05/0.9989, allocations: 12.44 kB / 1.118 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.9989, allocations: 27.42 kB / 1.118 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of SimCode: time 3.2e-07/0.9989, allocations: 0 / 1.118 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/1.023, allocations: 2.962 MB / 1.121 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/1.023, allocations: 144 kB / 1.121 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.635, allocations: 0 / 1.121 GB, free: 14.57 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)