Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Switch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",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.776/1.776, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.00105/0.00105, allocations: 164.9 kB / 366.7 MB, free: 1.691 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.806/1.806, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0008468/0.0008468, allocations: 96.39 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.263e-05/4.269e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7168/0.7169, allocations: 116.3 MB / 0.9734 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.9185, allocations: 138.5 MB / 1.109 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.9188, allocations: 67.95 kB / 1.109 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.007346/0.9262, allocations: 2.212 MB / 1.111 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9262, allocations: 0 / 1.111 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.9262, allocations: 1.094 kB / 1.111 GB, free: 9.316 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.0007916/0.927, allocations: 426.4 kB / 1.111 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/0.9271, allocations: 8.031 kB / 1.111 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.13e-05/0.9272, allocations: 8.906 kB / 1.111 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.9274, allocations: 171 kB / 1.111 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.9274, allocations: 7.984 kB / 1.111 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.9275, allocations: 7.969 kB / 1.111 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001005/0.9276, allocations: 20 kB / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.9277, allocations: 52.38 kB / 1.112 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.9277, allocations: 0 / 1.112 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.9277, allocations: 3.984 kB / 1.112 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.9278, allocations: 4 kB / 1.112 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.9283, allocations: 309.2 kB / 1.112 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.433e-05/0.9284, allocations: 27.8 kB / 1.112 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.363e-05/0.9284, allocations: 24.94 kB / 1.112 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.9284, allocations: 0 / 1.112 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.9286, allocations: 71.33 kB / 1.112 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.9286, allocations: 3.938 kB / 1.112 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002253/0.9288, allocations: 73.59 kB / 1.112 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.9289, allocations: 55.41 kB / 1.112 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.929, allocations: 107.1 kB / 1.112 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.9291, allocations: 33.7 kB / 1.112 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.9291, allocations: 88.22 kB / 1.112 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.9292, allocations: 15.8 kB / 1.112 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.464e-05/0.9292, allocations: 4 kB / 1.112 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.9293, allocations: 318.8 kB / 1.113 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.9294, allocations: 38.81 kB / 1.113 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.663e-05/0.9295, allocations: 54.56 kB / 1.113 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.9297, allocations: 43.91 kB / 1.113 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.9298, allocations: 0 / 1.113 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000382/0.9301, allocations: 129.5 kB / 1.113 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.752e-05/0.9302, allocations: 37.7 kB / 1.113 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.9302, allocations: 64 / 1.113 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.9302, allocations: 7.984 kB / 1.113 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.9304, allocations: 23.92 kB / 1.113 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.9304, allocations: 4 kB / 1.113 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.9307, allocations: 55.89 kB / 1.113 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.9307, allocations: 7.984 kB / 1.113 GB, free: 6.906 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001292/0.9308, allocations: 114.5 kB / 1.113 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001334/0.931, allocations: 77.03 kB / 1.113 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.931, allocations: 7.906 kB / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.9311, allocations: 4.625 kB / 1.113 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.9311, allocations: 7.938 kB / 1.113 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9311, allocations: 0 / 1.113 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.9311, allocations: 4 kB / 1.113 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.9313, allocations: 158.2 kB / 1.113 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.9313, allocations: 0 / 1.113 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.9314, allocations: 23.97 kB / 1.113 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.9314, allocations: 0 / 1.113 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.9314, allocations: 4 kB / 1.113 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.9314, allocations: 4 kB / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.9314, allocations: 2.344 kB / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.9316, allocations: 99.52 kB / 1.114 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.9317, allocations: 85.03 kB / 1.114 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.9317, allocations: 4 kB / 1.114 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.404e-05/0.9318, allocations: 15.98 kB / 1.114 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.9318, allocations: 11.98 kB / 1.114 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.9319, allocations: 4 kB / 1.114 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.956e-05/0.9319, allocations: 93.16 kB / 1.114 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9319, allocations: 3.938 kB / 1.114 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002368/0.9322, allocations: 31.89 kB / 1.114 GB, free: 6.09 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005535/0.9327, allocations: 0.6465 MB / 1.114 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.933, allocations: 139.3 kB / 1.115 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.933, allocations: 0 / 1.115 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.171e-05/0.9331, allocations: 24 kB / 1.115 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.9333, allocations: 7.984 kB / 1.115 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.9337, allocations: 133.4 kB / 1.115 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.9341, allocations: 0.6925 MB / 1.115 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.811e-05/0.9341, allocations: 9.375 kB / 1.115 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.9342, allocations: 27.42 kB / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.9342, allocations: 0 / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.9553, allocations: 1.874 MB / 1.117 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.9555, allocations: 144.1 kB / 1.117 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.508, allocations: 2.125 kB / 1.117 GB, free: 2.316 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)