Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.606/1.606, allocations: 249.3 MB / 261.8 MB, free: 5.828 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.001087/0.001087, allocations: 188.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.1 MB / 0.572 GB, free: 10.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 90.48 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.289e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2181, allocations: 106.3 MB / 0.8919 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7669/0.9851, allocations: 131.4 MB / 1.02 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.9854, allocations: 72.2 kB / 1.02 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00247/0.9879, allocations: 0.8981 MB / 1.021 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9879, allocations: 0 / 1.021 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.9879, allocations: 0 / 1.021 GB, free: 2.5 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.0004103/0.9884, allocations: 360.4 kB / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.9884, allocations: 12.03 kB / 1.021 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.9885, allocations: 34.12 kB / 1.022 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.9885, allocations: 11.91 kB / 1.022 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.9886, allocations: 174.9 kB / 1.022 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.9887, allocations: 7.734 kB / 1.022 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.9887, allocations: 4 kB / 1.022 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.9888, allocations: 48.38 kB / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.9888, allocations: 0 / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.9888, allocations: 0 / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.9888, allocations: 0 / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.806e-05/0.9889, allocations: 19.31 kB / 1.022 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.9894, allocations: 320.1 kB / 1.022 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.014e-05/0.9895, allocations: 39.58 kB / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.9896, allocations: 24.61 kB / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.9896, allocations: 0 / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.9897, allocations: 67.55 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.9897, allocations: 6.672 kB / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001719/0.9899, allocations: 70.58 kB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.99, allocations: 59.36 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.568e-05/0.99, allocations: 114.2 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.9901, allocations: 33.7 kB / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.9901, allocations: 83.33 kB / 1.023 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.9901, allocations: 23.36 kB / 1.023 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.9902, allocations: 0 / 1.023 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.9903, allocations: 313.1 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.087e-05/0.9903, allocations: 18.38 kB / 1.023 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.02e-05/0.9904, allocations: 26.27 kB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.321e-05/0.9904, allocations: 23.36 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9904, allocations: 0 / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000113/0.9905, allocations: 75.69 kB / 1.023 GB, free: 468 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.9906, allocations: 4 kB / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.9906, allocations: 0 / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.9906, allocations: 7.984 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.9906, allocations: 4 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.9907, allocations: 0 / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-05/0.9908, allocations: 23.75 kB / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.9908, allocations: 4 kB / 1.023 GB, free: 428 kB / 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,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.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 7.768e-05/0.9909, allocations: 108.7 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.9909, allocations: 16.7 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.9909, allocations: 6.625 kB / 1.023 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.9909, allocations: 0 / 1.023 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.9909, allocations: 3.938 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.9909, allocations: 0 / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.9911, allocations: 187.9 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9911, allocations: 0 / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.013e-05/0.9911, allocations: 2.812 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.9911, allocations: 4 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.9911, allocations: 0 / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9911, allocations: 0 / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.9911, allocations: 0 / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.9913, allocations: 106.2 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.9914, allocations: 81.11 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.9914, allocations: 192 / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/0.9915, allocations: 15.98 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.9915, allocations: 19.17 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-06/0.9915, allocations: 0 / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.779e-05/0.9916, allocations: 90.83 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9916, allocations: 0 / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001874/0.9918, allocations: 15.06 kB / 1.024 GB, free: 15.71 MB / 0.6511 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.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,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.0004295/0.9922, allocations: 0.6422 MB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.9923, allocations: 43.11 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9924, allocations: 2.688 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.838e-05/0.9924, allocations: 20.11 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.9926, allocations: 23.11 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.993, allocations: 125 kB / 1.024 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.9932, allocations: 0.6848 MB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.347e-05/0.9933, allocations: 15.78 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.9933, allocations: 10.12 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of SimCode: time 3.61e-07/0.9933, allocations: 4 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01225/1.006, allocations: 1.595 MB / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/1.006, allocations: 180.9 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.468/2.474, allocations: 0 / 1.027 GB, free: 12.39 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)