Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.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.LogicalSwitch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",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.974/1.974, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.001144/0.001144, allocations: 180.8 kB / 366.7 MB, free: 1.648 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.781/1.781, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.0008582/0.0008581, allocations: 93.02 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.148e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7696/0.7697, allocations: 116.3 MB / 0.9734 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2136/0.9833, allocations: 138.4 MB / 1.108 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.9836, allocations: 68.77 kB / 1.109 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01191/0.9955, allocations: 4.035 MB / 1.112 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9956, allocations: 0 / 1.112 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.9956, allocations: 4 kB / 1.112 GB, free: 7.668 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005415/0.9962, allocations: 455.5 kB / 1.113 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.9962, allocations: 8.031 kB / 1.113 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.173e-05/0.9963, allocations: 15.91 kB / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.9965, allocations: 180.9 kB / 1.113 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.9965, allocations: 0 / 1.113 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.9966, allocations: 15.94 kB / 1.113 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.672e-05/0.9967, allocations: 20 kB / 1.113 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.88e-05/0.9968, allocations: 49.67 kB / 1.113 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.9968, allocations: 1.875 kB / 1.113 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.9968, allocations: 0 / 1.113 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.9968, allocations: 1.125 kB / 1.113 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005836/0.9974, allocations: 393.1 kB / 1.114 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.187e-05/0.9975, allocations: 34.52 kB / 1.114 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.321e-05/0.9975, allocations: 16.94 kB / 1.114 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.9975, allocations: 4 kB / 1.114 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.9977, allocations: 95.42 kB / 1.114 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.9977, allocations: 4 kB / 1.114 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002588/0.998, allocations: 105.5 kB / 1.114 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.998, allocations: 53.84 kB / 1.114 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.9982, allocations: 124.8 kB / 1.114 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.9982, allocations: 29.7 kB / 1.114 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.884e-05/0.9983, allocations: 100.1 kB / 1.114 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.9983, allocations: 19.66 kB / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.9984, allocations: 8 kB / 1.114 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.9985, allocations: 326.8 kB / 1.114 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.9987, allocations: 79.98 kB / 1.115 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.9989, allocations: 117.9 kB / 1.115 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/0.9993, allocations: 103.9 kB / 1.115 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9993, allocations: 0 / 1.115 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00067/1, allocations: 285.7 kB / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.092e-05/1, allocations: 102.2 kB / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1, allocations: 0 / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/1, allocations: 8.188 kB / 1.115 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.723e-05/1, allocations: 6.062 kB / 1.115 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1, allocations: 3.938 kB / 1.115 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/1.001, allocations: 107.9 kB / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/1.001, allocations: 19.98 kB / 1.115 GB, free: 4.586 MB / 0.7136 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,$PRE.booPul3.y,booPul3.y,logicalSwitch.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 0.0001117/1.001, allocations: 120.9 kB / 1.115 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001379/1.001, allocations: 104.8 kB / 1.115 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/1.001, allocations: 7.906 kB / 1.115 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/1.001, allocations: 4.625 kB / 1.115 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.001, allocations: 4 kB / 1.115 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.001, allocations: 0 / 1.115 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.001, allocations: 7.938 kB / 1.115 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/1.001, allocations: 162.2 kB / 1.116 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.001, allocations: 0 / 1.116 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.25e-05/1.001, allocations: 4 kB / 1.116 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/1.001, allocations: 4 kB / 1.116 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/1.001, allocations: 4 kB / 1.116 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.001, allocations: 1.75 kB / 1.116 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.001, allocations: 0 / 1.116 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/1.001, allocations: 136.9 kB / 1.116 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/1.001, allocations: 81.02 kB / 1.116 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/1.002, allocations: 0 / 1.116 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.397e-05/1.002, allocations: 4 kB / 1.116 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/1.002, allocations: 15.92 kB / 1.116 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/1.002, allocations: 11.98 kB / 1.116 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.228e-05/1.002, allocations: 92.53 kB / 1.116 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.002, allocations: 3.938 kB / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002673/1.002, allocations: 47.94 kB / 1.116 GB, free: 3.703 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.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.0005168/1.002, allocations: 0.6853 MB / 1.117 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004475/1.003, allocations: 338.1 kB / 1.117 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.003, allocations: 0 / 1.117 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.774e-05/1.003, allocations: 37.81 kB / 1.117 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/1.003, allocations: 15.98 kB / 1.117 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/1.004, allocations: 166.1 kB / 1.117 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/1.004, allocations: 0.6962 MB / 1.118 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.452e-05/1.004, allocations: 8.422 kB / 1.118 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/1.004, allocations: 27.44 kB / 1.118 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/1.004, allocations: 0 / 1.118 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/1.029, allocations: 2.975 MB / 1.121 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/1.029, allocations: 149.7 kB / 1.121 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.699, allocations: 0 / 1.121 GB, free: 14.55 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)