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.LogicalSwitch.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.LogicalSwitch,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.459/1.459, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001423/0.001423, allocations: 183.2 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.001045/0.001046, allocations: 90.17 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003955, allocations: 11.56 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2379, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.4002, allocations: 131.5 MB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.4005, allocations: 71.95 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003076/0.4036, allocations: 1.169 MB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.365e-06/0.4036, allocations: 3.938 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.4036, allocations: 0 / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005212/0.4041, allocations: 411.1 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4042, allocations: 8.031 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.4042, allocations: 30.56 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.4043, allocations: 7.906 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.4044, allocations: 186.9 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.4044, allocations: 0 / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.4044, allocations: 8 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.4046, allocations: 65.61 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.4046, allocations: 0 / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.4046, allocations: 0 / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4046, allocations: 7.984 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.19e-05/0.4047, allocations: 27.98 kB / 1.03 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.4051, allocations: 304.8 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.329e-05/0.4052, allocations: 58.5 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.4052, allocations: 0 / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.4054, allocations: 75.38 kB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.4054, allocations: 0 / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0002397/0.4056, allocations: 117.8 kB / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.4057, allocations: 63.28 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.66e-05/0.4058, allocations: 121 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.4058, allocations: 37.64 kB / 1.031 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.4059, allocations: 88.28 kB / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.4059, allocations: 19.8 kB / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.4059, allocations: 4 kB / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.406, allocations: 318.8 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.956e-05/0.4061, allocations: 19.98 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-05/0.4061, allocations: 47.42 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.174e-05/0.4062, allocations: 20 kB / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4062, allocations: 0 / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001483/0.4063, allocations: 109.5 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4064, allocations: 7.938 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.4064, allocations: 0 / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4064, allocations: 4 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.843e-05/0.4065, allocations: 12.03 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4065, allocations: 4 kB / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.4066, allocations: 31.83 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.4066, allocations: 4 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.04e-05/0.4067, allocations: 117.8 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.4067, allocations: 7.906 kB / 1.032 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.4067, allocations: 16.38 kB / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.4068, allocations: 0 / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.4068, allocations: 0 / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4068, allocations: 7.984 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.4069, allocations: 189.6 kB / 1.032 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.4069, allocations: 4 kB / 1.032 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.357e-05/0.4069, allocations: 7.922 kB / 1.032 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.407, allocations: 0 / 1.032 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.407, allocations: 0 / 1.032 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.407, allocations: 4 kB / 1.032 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.407, allocations: 4 kB / 1.032 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.4071, allocations: 129.6 kB / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.4072, allocations: 81.11 kB / 1.032 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.4072, allocations: 0 / 1.032 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.4073, allocations: 23.97 kB / 1.032 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.4074, allocations: 15.98 kB / 1.032 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.4074, allocations: 4 kB / 1.032 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.73e-05/0.4074, allocations: 99.64 kB / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4074, allocations: 0 / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001917/0.4076, allocations: 20 kB / 1.033 GB, free: 7.75 MB / 0.6823 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 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked 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.0004614/0.4081, allocations: 0.6631 MB / 1.033 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.4083, allocations: 63.86 kB / 1.033 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4083, allocations: 0 / 1.033 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.304e-05/0.4083, allocations: 31.98 kB / 1.033 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.4086, allocations: 24.48 kB / 1.033 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009005/0.4095, allocations: 1.033 MB / 1.034 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.4097, allocations: 0.6926 MB / 1.035 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.07e-05/0.4097, allocations: 16.53 kB / 1.035 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.4098, allocations: 23.44 kB / 1.035 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/0.4098, allocations: 0 / 1.035 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.4214, allocations: 2.038 MB / 1.037 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000278/0.4217, allocations: 191.2 kB / 1.037 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/1.935, allocations: 0 / 1.037 GB, free: 2.992 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)