Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.807/1.807, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.00111/0.00111, allocations: 181.4 kB / 371.6 MB, free: 3.309 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.615/1.615, allocations: 205.2 MB / 0.6309 GB, free: 11.73 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.001109/0.001109, allocations: 91.67 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.554e-05/6.57e-05, allocations: 8 kB / 0.8664 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3252, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9147/1.24, allocations: 139 MB / 1.116 GB, free: 44.63 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/1.24, allocations: 72.72 kB / 1.116 GB, free: 44.61 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01117/1.252, allocations: 4.042 MB / 1.12 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.166e-06/1.252, allocations: 3.938 kB / 1.12 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.146e-05/1.252, allocations: 8 kB / 1.12 GB, free: 42.28 MB / 0.7448 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.0005124/1.252, allocations: 456 kB / 1.12 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/1.252, allocations: 8.031 kB / 1.12 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.114e-05/1.252, allocations: 35.06 kB / 1.12 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.558e-05/1.252, allocations: 18.58 kB / 1.12 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/1.252, allocations: 171.8 kB / 1.12 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/1.253, allocations: 8 kB / 1.12 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/1.253, allocations: 15.09 kB / 1.12 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/1.253, allocations: 56.64 kB / 1.12 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.253, allocations: 11.94 kB / 1.12 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/1.253, allocations: 0 / 1.12 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.253, allocations: 0 / 1.12 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.059e-05/1.253, allocations: 21.89 kB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/1.253, allocations: 419 kB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.613e-05/1.253, allocations: 26.14 kB / 1.121 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/1.253, allocations: 24.3 kB / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.527e-06/1.253, allocations: 1.312 kB / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/1.254, allocations: 95.69 kB / 1.121 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/1.254, allocations: 0 / 1.121 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002557/1.254, allocations: 114.6 kB / 1.121 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/1.254, allocations: 59.16 kB / 1.121 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/1.254, allocations: 130.9 kB / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/1.254, allocations: 32.89 kB / 1.121 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/1.254, allocations: 97.48 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/1.254, allocations: 26.72 kB / 1.121 GB, free: 40.56 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/1.254, allocations: 6.875 kB / 1.121 GB, free: 40.56 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.126e-05/1.254, allocations: 320.8 kB / 1.122 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/1.254, allocations: 89.88 kB / 1.122 GB, free: 40.19 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/1.255, allocations: 130.5 kB / 1.122 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/1.255, allocations: 168.3 kB / 1.122 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.255, allocations: 0 / 1.122 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004939/1.255, allocations: 363.9 kB / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.416e-05/1.255, allocations: 99.73 kB / 1.123 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.255, allocations: 4 kB / 1.123 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/1.255, allocations: 0.8125 kB / 1.123 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.234e-05/1.255, allocations: 12.58 kB / 1.123 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.256, allocations: 7.953 kB / 1.123 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004524/1.256, allocations: 107.3 kB / 1.123 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/1.256, allocations: 19.28 kB / 1.123 GB, free: 39.42 MB / 0.7448 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,or1.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 8.629e-05/1.256, allocations: 119.8 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/1.256, allocations: 7.906 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/1.256, allocations: 12.31 kB / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/1.256, allocations: 0 / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.256, allocations: 4.75 kB / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/1.256, allocations: 3.953 kB / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/1.256, allocations: 194.4 kB / 1.123 GB, free: 39.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.256, allocations: 0 / 1.123 GB, free: 39.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.168e-05/1.256, allocations: 4.5 kB / 1.123 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.256, allocations: 0 / 1.123 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/1.256, allocations: 3.688 kB / 1.123 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.256, allocations: 5.031 kB / 1.123 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.256, allocations: 0.9375 kB / 1.123 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/1.257, allocations: 137 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/1.257, allocations: 88.91 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/1.257, allocations: 0 / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.35e-05/1.257, allocations: 4 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/1.257, allocations: 11.05 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/1.257, allocations: 7.375 kB / 1.123 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.704e-05/1.257, allocations: 95.8 kB / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.212e-06/1.257, allocations: 0.9375 kB / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002593/1.257, allocations: 54.69 kB / 1.123 GB, free: 38.7 MB / 0.7448 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,or1.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.0004718/1.258, allocations: 0.6889 MB / 1.124 GB, free: 38.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003893/1.258, allocations: 351.5 kB / 1.124 GB, free: 37.71 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/1.258, allocations: 0 / 1.124 GB, free: 37.71 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.075e-05/1.258, allocations: 41.97 kB / 1.124 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/1.258, allocations: 24.02 kB / 1.124 GB, free: 37.67 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/1.259, allocations: 166.4 kB / 1.125 GB, free: 37.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/1.259, allocations: 0.6988 MB / 1.125 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.703e-05/1.259, allocations: 12.66 kB / 1.125 GB, free: 36.78 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/1.259, allocations: 26.69 kB / 1.125 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of SimCode: time 2.71e-07/1.259, allocations: 3.938 kB / 1.125 GB, free: 36.76 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/1.274, allocations: 3.427 MB / 1.129 GB, free: 34.92 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/1.274, allocations: 149.6 kB / 1.129 GB, free: 34.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.889, allocations: 4 kB / 1.129 GB, free: 34.7 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)