Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.369/2.369, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001435/0.001434, allocations: 180.8 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001057/0.001057, allocations: 98.94 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.969e-05, allocations: 8 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7999/0.7999, allocations: 115.3 MB / 0.9634 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2319/1.032, allocations: 137.2 MB / 1.097 GB, free: 3.277 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/1.032, allocations: 67.97 kB / 1.097 GB, free: 3.211 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02105/1.053, allocations: 4.032 MB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.18e-06/1.053, allocations: 0 / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.714e-06/1.053, allocations: 3.938 kB / 1.101 GB, free: 15.26 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.0005662/1.054, allocations: 455.5 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/1.054, allocations: 12.03 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.399e-05/1.054, allocations: 13.11 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/1.054, allocations: 175.9 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/1.054, allocations: 8 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/1.054, allocations: 15.98 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.314e-05/1.055, allocations: 15.31 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/1.055, allocations: 57.62 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/1.055, allocations: 3.984 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/1.055, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/1.055, allocations: 4 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007611/1.056, allocations: 389.1 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.689e-05/1.056, allocations: 26.58 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/1.056, allocations: 16.86 kB / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/1.056, allocations: 0 / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/1.056, allocations: 104.5 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/1.056, allocations: 0 / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003367/1.056, allocations: 107.6 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/1.056, allocations: 59.41 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/1.057, allocations: 126.2 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-05/1.057, allocations: 29.7 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/1.057, allocations: 96.14 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/1.057, allocations: 23.7 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/1.057, allocations: 8 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.057, allocations: 322.7 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/1.057, allocations: 75.98 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/1.058, allocations: 124 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007154/1.058, allocations: 105.1 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.058, allocations: 0 / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001231/1.06, allocations: 282.8 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.851e-05/1.06, allocations: 106.1 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.06, allocations: 4 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/1.06, allocations: 0 / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.972e-05/1.06, allocations: 4 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/1.06, allocations: 4 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008674/1.061, allocations: 111.9 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/1.061, allocations: 19.98 kB / 1.104 GB, free: 12.17 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.0001466/1.061, allocations: 116.7 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002397/1.061, allocations: 108.1 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/1.061, allocations: 11.89 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/1.061, allocations: 8.625 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/1.061, allocations: 0 / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.061, allocations: 3.953 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.061, allocations: 4 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/1.061, allocations: 162.2 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.061, allocations: 0 / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.072e-05/1.062, allocations: 4 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/1.062, allocations: 3.984 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/1.062, allocations: 6.062 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.062, allocations: 0 / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.062, allocations: 0 / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/1.062, allocations: 128.9 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/1.062, allocations: 89.02 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/1.062, allocations: 5.016 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.749e-05/1.062, allocations: 0 / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/1.062, allocations: 11.98 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/1.062, allocations: 4 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.512e-05/1.062, allocations: 96.39 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.01e-07/1.062, allocations: 0 / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004447/1.063, allocations: 55.88 kB / 1.105 GB, free: 11.28 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.0006565/1.063, allocations: 0.6684 MB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006639/1.064, allocations: 346.1 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.064, allocations: 0 / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.236e-05/1.064, allocations: 35.98 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/1.064, allocations: 20.92 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/1.065, allocations: 160.7 kB / 1.106 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/1.065, allocations: 0.7001 MB / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.253e-05/1.065, allocations: 11.91 kB / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.67e-05/1.065, allocations: 27.42 kB / 1.107 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of SimCode: time 1.152e-06/1.066, allocations: 4 kB / 1.107 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04358/1.109, allocations: 2.974 MB / 1.11 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000314/1.109, allocations: 160.1 kB / 1.11 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/3.522, allocations: 2.844 kB / 1.11 GB, free: 6.125 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)