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.819/1.819, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.0009998/0.0009999, allocations: 177.9 kB / 371.6 MB, free: 3.363 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.649/1.649, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009493/0.0009494, allocations: 89.34 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.159e-05/4.162e-05, allocations: 8 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2819, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9655/1.247, allocations: 139 MB / 1.116 GB, free: 44.73 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/1.248, allocations: 71.3 kB / 1.116 GB, free: 44.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01106/1.259, allocations: 4.041 MB / 1.12 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.487e-06/1.259, allocations: 0 / 1.12 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.118e-05/1.259, allocations: 3.938 kB / 1.12 GB, free: 42.39 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.0005273/1.26, allocations: 453.1 kB / 1.12 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/1.26, allocations: 12.03 kB / 1.12 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.149e-05/1.26, allocations: 38.08 kB / 1.12 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.109e-05/1.26, allocations: 18.41 kB / 1.12 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/1.26, allocations: 172.2 kB / 1.12 GB, free: 41.63 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/1.26, allocations: 11.08 kB / 1.12 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/1.26, allocations: 19.47 kB / 1.12 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/1.26, allocations: 52.09 kB / 1.12 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.26, allocations: 0 / 1.12 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/1.26, allocations: 4 kB / 1.12 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/1.26, allocations: 0.8438 kB / 1.12 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.537e-05/1.26, allocations: 23.44 kB / 1.12 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/1.261, allocations: 411.3 kB / 1.121 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.201e-05/1.261, allocations: 37.44 kB / 1.121 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.085e-05/1.261, allocations: 17.95 kB / 1.121 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/1.261, allocations: 0 / 1.121 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/1.261, allocations: 109.1 kB / 1.121 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/1.261, allocations: 0 / 1.121 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.00024/1.261, allocations: 112 kB / 1.121 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/1.262, allocations: 58.78 kB / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.731e-05/1.262, allocations: 130 kB / 1.121 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/1.262, allocations: 37.64 kB / 1.121 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/1.262, allocations: 95.33 kB / 1.121 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/1.262, allocations: 23.58 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/1.262, allocations: 8 kB / 1.121 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.567e-05/1.262, allocations: 321.9 kB / 1.122 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/1.262, allocations: 86.94 kB / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/1.262, allocations: 132 kB / 1.122 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/1.262, allocations: 165.5 kB / 1.122 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.262, allocations: 0 / 1.122 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004928/1.263, allocations: 369 kB / 1.122 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.396e-05/1.263, allocations: 96.19 kB / 1.123 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.263, allocations: 8.188 kB / 1.123 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/1.263, allocations: 4 kB / 1.123 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.392e-05/1.263, allocations: 5.156 kB / 1.123 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/1.263, allocations: 11.38 kB / 1.123 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/1.263, allocations: 108.1 kB / 1.123 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/1.264, allocations: 15.42 kB / 1.123 GB, free: 39.52 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,$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 8.96e-05/1.264, allocations: 127.9 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/1.264, allocations: 11.14 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/1.264, allocations: 8.312 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/1.264, allocations: 0 / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.264, allocations: 0.5625 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/1.264, allocations: 8.984 kB / 1.123 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/1.264, allocations: 186.6 kB / 1.123 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.264, allocations: 0 / 1.123 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.033e-05/1.264, allocations: 0.8125 kB / 1.123 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.264, allocations: 8.172 kB / 1.123 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/1.264, allocations: 4 kB / 1.123 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.264, allocations: 0 / 1.123 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/1.264, allocations: 0 / 1.123 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/1.264, allocations: 138.9 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/1.264, allocations: 85.02 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/1.264, allocations: 7.578 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.193e-05/1.264, allocations: 0.5625 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/1.264, allocations: 11.42 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/1.264, allocations: 8.438 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.056e-05/1.264, allocations: 99.52 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.264, allocations: 0 / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002435/1.265, allocations: 47.56 kB / 1.123 GB, free: 38.8 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,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.0004622/1.265, allocations: 0.7041 MB / 1.124 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003927/1.265, allocations: 352.9 kB / 1.124 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.265, allocations: 0 / 1.124 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.238e-05/1.265, allocations: 35.69 kB / 1.124 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/1.266, allocations: 25.83 kB / 1.125 GB, free: 37.76 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/1.266, allocations: 167 kB / 1.125 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/1.266, allocations: 0.7025 MB / 1.125 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.314e-05/1.266, allocations: 4.438 kB / 1.125 GB, free: 36.87 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/1.267, allocations: 26.2 kB / 1.125 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/1.267, allocations: 5.031 kB / 1.125 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/1.284, allocations: 3.434 MB / 1.129 GB, free: 34.99 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/1.285, allocations: 173.9 kB / 1.129 GB, free: 34.75 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.96, allocations: 0 / 1.129 GB, free: 34.75 MB / 0.7448 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)