Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.722/1.722, allocations: 289.9 MB / 297.4 MB, free: 6.418 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.001084/0.001084, allocations: 172.8 kB / 366.7 MB, free: 1.691 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.829/1.829, allocations: 205.2 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.0009058/0.0009058, allocations: 84.08 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.845e-05, allocations: 12 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.711/0.711, allocations: 116.3 MB / 0.9734 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1982/0.9093, allocations: 138.3 MB / 1.108 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.9096, allocations: 72.56 kB / 1.109 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01026/0.9199, allocations: 2.909 MB / 1.111 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.052e-06/0.92, allocations: 0 / 1.111 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.92, allocations: 0 / 1.111 GB, free: 8.844 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.0004254/0.9204, allocations: 415.2 kB / 1.112 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.9205, allocations: 8.031 kB / 1.112 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.9205, allocations: 8 kB / 1.112 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.9207, allocations: 167.8 kB / 1.112 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.9207, allocations: 3.984 kB / 1.112 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.9207, allocations: 8.531 kB / 1.112 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.954e-05/0.9208, allocations: 12 kB / 1.112 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.189e-05/0.9209, allocations: 42.97 kB / 1.112 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.9209, allocations: 0 / 1.112 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.9209, allocations: 7.938 kB / 1.112 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.9209, allocations: 2.781 kB / 1.112 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.9214, allocations: 333.2 kB / 1.112 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.573e-05/0.9215, allocations: 30.58 kB / 1.112 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.039e-05/0.9215, allocations: 16.86 kB / 1.112 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.9215, allocations: 0 / 1.112 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.9217, allocations: 77.59 kB / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.9217, allocations: 0 / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002413/0.9219, allocations: 85.58 kB / 1.113 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.922, allocations: 59.39 kB / 1.113 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.9221, allocations: 112.3 kB / 1.113 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.9221, allocations: 29.7 kB / 1.113 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.9222, allocations: 96.22 kB / 1.113 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.9222, allocations: 7.906 kB / 1.113 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.9223, allocations: 4 kB / 1.113 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.9224, allocations: 322.8 kB / 1.113 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.9225, allocations: 56 kB / 1.113 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.9226, allocations: 84.22 kB / 1.113 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.923, allocations: 63.94 kB / 1.113 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.923, allocations: 0 / 1.113 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004856/0.9235, allocations: 209.4 kB / 1.114 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.292e-05/0.9235, allocations: 67.39 kB / 1.114 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.9235, allocations: 0 / 1.114 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.9236, allocations: 4 kB / 1.114 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.033e-05/0.9236, allocations: 0 / 1.114 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.9236, allocations: 7.984 kB / 1.114 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.9239, allocations: 68.94 kB / 1.114 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.924, allocations: 13.39 kB / 1.114 GB, free: 6.238 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,and1.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 9.486e-05/0.9241, allocations: 124.9 kB / 1.114 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000101/0.9242, allocations: 77.53 kB / 1.114 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.9242, allocations: 7.906 kB / 1.114 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.9242, allocations: 4.625 kB / 1.114 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.9242, allocations: 0 / 1.114 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9243, allocations: 0 / 1.114 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.9243, allocations: 6.047 kB / 1.114 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.9244, allocations: 158.2 kB / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9244, allocations: 0 / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-06/0.9244, allocations: 0 / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.9244, allocations: 4 kB / 1.114 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.9245, allocations: 4 kB / 1.114 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.9245, allocations: 0 / 1.114 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.9245, allocations: 0 / 1.114 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.9246, allocations: 109.8 kB / 1.114 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.9247, allocations: 85.02 kB / 1.114 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.9247, allocations: 4 kB / 1.114 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.099e-05/0.9247, allocations: 7.922 kB / 1.114 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.9248, allocations: 8 kB / 1.114 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.9248, allocations: 0 / 1.114 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.327e-05/0.9249, allocations: 91.27 kB / 1.114 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9249, allocations: 0 / 1.114 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002478/0.9251, allocations: 32 kB / 1.114 GB, free: 5.445 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,and1.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.0005269/0.9257, allocations: 0.6669 MB / 1.115 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003624/0.926, allocations: 218.8 kB / 1.115 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.926, allocations: 5.906 kB / 1.115 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.291e-05/0.9261, allocations: 24 kB / 1.115 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.9263, allocations: 13.23 kB / 1.115 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.9267, allocations: 129.1 kB / 1.115 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.927, allocations: 0.6924 MB / 1.116 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.92e-05/0.927, allocations: 7.984 kB / 1.116 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.9271, allocations: 15.44 kB / 1.116 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.9271, allocations: 0 / 1.116 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.9472, allocations: 2.148 MB / 1.118 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.9474, allocations: 148.2 kB / 1.118 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/2.553, allocations: 0 / 1.118 GB, free: 1.301 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)