Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.173/2.173, allocations: 251 MB / 265.9 MB, free: 11.75 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.001587/0.001587, allocations: 185.2 kB / 325.5 MB, free: 2.934 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.442/2.442, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001095/0.001094, allocations: 92.44 kB / 0.6809 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004831/0.0004831, allocations: 15.42 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2067, allocations: 106.3 MB / 0.8988 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2311/0.4379, allocations: 131.3 MB / 1.027 GB, free: 14.08 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.4382, allocations: 71.95 kB / 1.027 GB, free: 14.01 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.004817/0.443, allocations: 1.165 MB / 1.028 GB, free: 12.84 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4431, allocations: 0 / 1.028 GB, free: 12.84 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.4431, allocations: 4 kB / 1.028 GB, free: 12.84 MB / 0.6824 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.0008199/0.4439, allocations: 411 kB / 1.029 GB, free: 12.39 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.444, allocations: 12.03 kB / 1.029 GB, free: 12.38 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/0.444, allocations: 30.56 kB / 1.029 GB, free: 12.34 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.4441, allocations: 11.86 kB / 1.029 GB, free: 12.33 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.4443, allocations: 182.8 kB / 1.029 GB, free: 12.11 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.4443, allocations: 4 kB / 1.029 GB, free: 12.11 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.4443, allocations: 8 kB / 1.029 GB, free: 12.1 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.4445, allocations: 65.55 kB / 1.029 GB, free: 12.03 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.4446, allocations: 4 kB / 1.029 GB, free: 12.02 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.4446, allocations: 0 / 1.029 GB, free: 12.02 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.4446, allocations: 0 / 1.029 GB, free: 12.02 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.4447, allocations: 27.98 kB / 1.029 GB, free: 12 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.4453, allocations: 312.7 kB / 1.029 GB, free: 11.64 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.4455, allocations: 50.56 kB / 1.029 GB, free: 11.58 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.4455, allocations: 0 / 1.029 GB, free: 11.58 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.4458, allocations: 83.41 kB / 1.029 GB, free: 11.49 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.4458, allocations: 0 / 1.029 GB, free: 11.49 MB / 0.6824 GB Notification: Performance of matching and sorting (n=10): time 0.0003894/0.4462, allocations: 121.5 kB / 1.03 GB, free: 11.36 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.4463, allocations: 55.39 kB / 1.03 GB, free: 11.3 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.4464, allocations: 120.8 kB / 1.03 GB, free: 11.17 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.4464, allocations: 33.7 kB / 1.03 GB, free: 11.13 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 6.662e-05/0.4465, allocations: 92.28 kB / 1.03 GB, free: 11.04 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.4466, allocations: 19.8 kB / 1.03 GB, free: 11.02 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.4466, allocations: 4 kB / 1.03 GB, free: 11.02 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.4467, allocations: 322.8 kB / 1.03 GB, free: 10.69 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.664e-05/0.4468, allocations: 12 kB / 1.03 GB, free: 10.68 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.774e-05/0.4469, allocations: 47.42 kB / 1.03 GB, free: 10.62 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.955e-05/0.447, allocations: 28.31 kB / 1.03 GB, free: 10.59 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.447, allocations: 0 / 1.03 GB, free: 10.59 MB / 0.6824 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002399/0.4473, allocations: 105.5 kB / 1.03 GB, free: 10.48 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.4473, allocations: 8 kB / 1.03 GB, free: 10.48 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4473, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4474, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/0.4475, allocations: 11.94 kB / 1.03 GB, free: 10.46 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.4475, allocations: 7.984 kB / 1.03 GB, free: 10.46 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.4477, allocations: 35.88 kB / 1.03 GB, free: 10.42 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.4478, allocations: 4 kB / 1.03 GB, free: 10.42 MB / 0.6824 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 0.0001231/0.4479, allocations: 117.8 kB / 1.03 GB, free: 10.29 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.4479, allocations: 7.906 kB / 1.03 GB, free: 10.29 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.448, allocations: 16.38 kB / 1.031 GB, free: 10.27 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.448, allocations: 4 kB / 1.031 GB, free: 10.27 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.448, allocations: 3.984 kB / 1.031 GB, free: 10.27 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.448, allocations: 3.953 kB / 1.031 GB, free: 10.26 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.4483, allocations: 189.6 kB / 1.031 GB, free: 10.03 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4483, allocations: 4 kB / 1.031 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/0.4483, allocations: 4 kB / 1.031 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4483, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.4484, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4484, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4484, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.4487, allocations: 133.8 kB / 1.031 GB, free: 9.871 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.4487, allocations: 77.11 kB / 1.031 GB, free: 9.777 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.4488, allocations: 4 kB / 1.031 GB, free: 9.773 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.449, allocations: 23.97 kB / 1.031 GB, free: 9.75 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/0.449, allocations: 11.98 kB / 1.031 GB, free: 9.738 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.4491, allocations: 3.984 kB / 1.031 GB, free: 9.734 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 8.837e-05/0.4492, allocations: 103.3 kB / 1.031 GB, free: 9.633 MB / 0.6824 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4492, allocations: 192 / 1.031 GB, free: 9.633 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0002703/0.4495, allocations: 20 kB / 1.031 GB, free: 9.613 MB / 0.6824 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.0006191/0.4501, allocations: 0.6591 MB / 1.032 GB, free: 8.922 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.4503, allocations: 63.86 kB / 1.032 GB, free: 8.859 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4504, allocations: 0 / 1.032 GB, free: 8.859 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.4505, allocations: 35.98 kB / 1.032 GB, free: 8.824 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.4508, allocations: 17.53 kB / 1.032 GB, free: 8.809 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.4524, allocations: 1.044 MB / 1.033 GB, free: 7.695 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.4527, allocations: 0.6926 MB / 1.034 GB, free: 6.977 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 7.983e-05/0.4528, allocations: 8.547 kB / 1.034 GB, free: 6.965 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.319e-05/0.4529, allocations: 27.42 kB / 1.034 GB, free: 6.941 MB / 0.6824 GB Notification: Performance of SimCode: time 1.182e-06/0.4529, allocations: 0 / 1.034 GB, free: 6.941 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.4747, allocations: 2.032 MB / 1.036 GB, free: 5.062 MB / 0.6824 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003596/0.4751, allocations: 192.9 kB / 1.036 GB, free: 4.824 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/2.794, allocations: 0 / 1.036 GB, free: 4.824 MB / 0.6824 GB