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.807/1.807, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001087/0.001087, allocations: 180.8 kB / 371.6 MB, free: 3.391 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.904/1.904, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009344/0.0009345, allocations: 85.8 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.323e-05/5.333e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3132, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8495/1.163, allocations: 139 MB / 1.116 GB, free: 44.66 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/1.163, allocations: 71.2 kB / 1.116 GB, free: 44.63 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01108/1.174, allocations: 4.045 MB / 1.12 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.334e-06/1.174, allocations: 4 kB / 1.12 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.829e-06/1.174, allocations: 4 kB / 1.12 GB, free: 42.31 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.0005049/1.175, allocations: 457.3 kB / 1.12 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/1.175, allocations: 8.031 kB / 1.12 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.552e-05/1.175, allocations: 30.56 kB / 1.12 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.89e-05/1.175, allocations: 18.41 kB / 1.12 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/1.175, allocations: 171.4 kB / 1.12 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/1.175, allocations: 14.77 kB / 1.12 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/1.175, allocations: 12 kB / 1.12 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/1.175, allocations: 63.83 kB / 1.12 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.175, allocations: 0 / 1.12 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/1.175, allocations: 3.438 kB / 1.12 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.175, allocations: 0 / 1.12 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.568e-05/1.175, allocations: 24.17 kB / 1.12 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000553/1.176, allocations: 414.5 kB / 1.121 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.569e-05/1.176, allocations: 32.89 kB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/1.176, allocations: 20.55 kB / 1.121 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/1.176, allocations: 4 kB / 1.121 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/1.176, allocations: 93.86 kB / 1.121 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 2.124e-06/1.176, allocations: 0 / 1.121 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002595/1.177, allocations: 117.2 kB / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/1.177, allocations: 59.41 kB / 1.121 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.265e-05/1.177, allocations: 130 kB / 1.121 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/1.177, allocations: 37.17 kB / 1.121 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/1.177, allocations: 94.14 kB / 1.121 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/1.177, allocations: 19.22 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/1.177, allocations: 19 kB / 1.121 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.333e-05/1.177, allocations: 314.7 kB / 1.122 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/1.177, allocations: 86.3 kB / 1.122 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/1.177, allocations: 137 kB / 1.122 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/1.178, allocations: 162.1 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.178, allocations: 4 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000508/1.178, allocations: 360.6 kB / 1.122 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/1.178, allocations: 99.69 kB / 1.123 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.178, allocations: 5.281 kB / 1.123 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/1.178, allocations: 0 / 1.123 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.371e-05/1.178, allocations: 11.97 kB / 1.123 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.178, allocations: 7.953 kB / 1.123 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/1.179, allocations: 111.2 kB / 1.123 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/1.179, allocations: 15.47 kB / 1.123 GB, free: 39.45 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,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 8.958e-05/1.179, allocations: 122.4 kB / 1.123 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/1.179, allocations: 8.656 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/1.179, allocations: 13.42 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/1.179, allocations: 4.625 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.179, allocations: 0 / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.179, allocations: 3.953 kB / 1.123 GB, free: 39.31 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/1.179, allocations: 188 kB / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.179, allocations: 4.562 kB / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/1.179, allocations: 6.812 kB / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.179, allocations: 0.5625 kB / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/1.179, allocations: 4 kB / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.179, allocations: 0.5 kB / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.179, allocations: 0 / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/1.179, allocations: 140.5 kB / 1.123 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/1.179, allocations: 81.67 kB / 1.123 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/1.179, allocations: 12.64 kB / 1.123 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.287e-05/1.179, allocations: 0 / 1.123 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/1.179, allocations: 7.375 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/1.179, allocations: 6.875 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.523e-05/1.18, allocations: 99.83 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.18, allocations: 0 / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002643/1.18, allocations: 55.75 kB / 1.123 GB, free: 38.72 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,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.0004178/1.18, allocations: 0.6859 MB / 1.124 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000386/1.181, allocations: 355.7 kB / 1.124 GB, free: 37.74 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.181, allocations: 5.5 kB / 1.124 GB, free: 37.73 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.533e-05/1.181, allocations: 36.81 kB / 1.124 GB, free: 37.71 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/1.181, allocations: 24.84 kB / 1.125 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/1.181, allocations: 160 kB / 1.125 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/1.182, allocations: 0.7059 MB / 1.125 GB, free: 36.81 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.883e-05/1.182, allocations: 8.438 kB / 1.125 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/1.182, allocations: 28.05 kB / 1.125 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/1.182, allocations: 0 / 1.125 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/1.199, allocations: 3.431 MB / 1.129 GB, free: 34.94 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/1.199, allocations: 150.9 kB / 1.129 GB, free: 34.72 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.842, allocations: 4 kB / 1.129 GB, free: 34.72 MB / 0.7448 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)