Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.215/2.215, allocations: 248.7 MB / 256.2 MB, free: 7.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001544/0.001544, allocations: 177.1 kB / 315.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.142/2.142, allocations: 205.3 MB / 0.5662 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 88.41 kB / 0.6704 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.391e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2671, allocations: 106.3 MB / 0.8841 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9566/1.224, allocations: 131.4 MB / 1.012 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/1.224, allocations: 70.14 kB / 1.013 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003907/1.228, allocations: 0.8974 MB / 1.013 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.206e-06/1.228, allocations: 0 / 1.013 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.438e-05/1.228, allocations: 4 kB / 1.013 GB, free: 6.359 MB / 0.6355 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.0008876/1.229, allocations: 354.5 kB / 1.014 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.41e-05/1.229, allocations: 8.031 kB / 1.014 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.475e-05/1.229, allocations: 7.906 kB / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/1.23, allocations: 182.9 kB / 1.014 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/1.23, allocations: 0 / 1.014 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/1.23, allocations: 4 kB / 1.014 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000157/1.23, allocations: 19.75 kB / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/1.23, allocations: 41.56 kB / 1.014 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/1.23, allocations: 0.875 kB / 1.014 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/1.23, allocations: 3.984 kB / 1.014 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/1.23, allocations: 8 kB / 1.014 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007499/1.231, allocations: 256.6 kB / 1.014 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/1.231, allocations: 38.45 kB / 1.014 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.66e-05/1.231, allocations: 16.67 kB / 1.014 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/1.231, allocations: 0 / 1.014 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000285/1.231, allocations: 77.61 kB / 1.014 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.328e-06/1.232, allocations: 0 / 1.014 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004188/1.232, allocations: 69.19 kB / 1.014 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/1.232, allocations: 51.41 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/1.232, allocations: 112.7 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/1.232, allocations: 25.7 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.728e-05/1.232, allocations: 87.95 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/1.233, allocations: 7.906 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/1.233, allocations: 0 / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002462/1.233, allocations: 326.7 kB / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/1.233, allocations: 12.56 kB / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.582e-05/1.233, allocations: 30.08 kB / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.046e-05/1.233, allocations: 12.64 kB / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/1.233, allocations: 4.188 kB / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002737/1.233, allocations: 77.39 kB / 1.015 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/1.234, allocations: 7.938 kB / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/1.234, allocations: 7.25 kB / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/1.234, allocations: 0 / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/1.234, allocations: 7.938 kB / 1.015 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/1.234, allocations: 480 / 1.015 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/1.234, allocations: 15.98 kB / 1.015 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/1.234, allocations: 4.062 kB / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001932/1.234, allocations: 108.9 kB / 1.015 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002749/1.235, allocations: 73.08 kB / 1.015 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/1.235, allocations: 7.844 kB / 1.015 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.678e-05/1.235, allocations: 16.55 kB / 1.015 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/1.235, allocations: 0 / 1.015 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.235, allocations: 3.938 kB / 1.015 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/1.235, allocations: 3.953 kB / 1.015 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/1.235, allocations: 145.8 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.235, allocations: 0 / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.078e-05/1.235, allocations: 8 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/1.235, allocations: 0 / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/1.235, allocations: 3.984 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.235, allocations: 0 / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.235, allocations: 0 / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/1.236, allocations: 96.81 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.036e-05/1.236, allocations: 81.02 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/1.236, allocations: 4 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/1.236, allocations: 15.98 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.634e-05/1.236, allocations: 7.984 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/1.236, allocations: 7.984 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.987e-05/1.236, allocations: 86.97 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.086e-06/1.236, allocations: 0 / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005761/1.237, allocations: 15.94 kB / 1.016 GB, free: 3.684 MB / 0.6355 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.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.0007665/1.238, allocations: 0.6302 MB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002382/1.238, allocations: 35.25 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/1.238, allocations: 0 / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/1.238, allocations: 27.86 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/1.239, allocations: 19.55 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007532/1.239, allocations: 121.2 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/1.24, allocations: 0.6923 MB / 1.017 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.656e-05/1.24, allocations: 7.859 kB / 1.017 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/1.24, allocations: 23 kB / 1.017 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of SimCode: time 1.353e-06/1.24, allocations: 0 / 1.017 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03972/1.28, allocations: 1.282 MB / 1.019 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003465/1.28, allocations: 138.8 kB / 1.019 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/3.557, allocations: 0 / 1.019 GB, free: 0.6289 MB / 0.6355 GB