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.591/1.591, allocations: 252 MB / 267 MB, free: 10.95 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.0009952/0.0009954, allocations: 183.3 kB / 326.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.4 MB / 0.5776 GB, free: 20.29 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.0008902/0.0008903, allocations: 94.27 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003381, allocations: 9.406 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.244, allocations: 106.3 MB / 0.9003 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.001492/0.2455, allocations: 1.143 MB / 0.9014 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004114/0.246, allocations: 208.4 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.41e-05/0.246, allocations: 0 / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.246, allocations: 3.984 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.946e-05/0.2461, allocations: 23.84 kB / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.2463, allocations: 15.98 kB / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.137e-05/0.2464, allocations: 75.66 kB / 0.9018 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2465, allocations: 20.17 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.106e-05/0.2466, allocations: 27.86 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.395e-05/0.2467, allocations: 27.84 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.2467, allocations: 4 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.404e-05/0.2467, allocations: 4 kB / 0.9018 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.2467, allocations: 7.984 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.03e-05/0.2468, allocations: 41.64 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.438e-05/0.2469, allocations: 47.89 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.2469, allocations: 0 / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2469, allocations: 0 / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.2469, allocations: 4 kB / 0.9019 GB, free: 62.09 MB / 0.6042 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.0005929/0.2475, allocations: 399.3 kB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2476, allocations: 8.031 kB / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.2476, allocations: 38.56 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.2476, allocations: 7.984 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.2478, allocations: 182.9 kB / 0.9025 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.2478, allocations: 4 kB / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.2478, allocations: 11.92 kB / 0.9026 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.2479, allocations: 65.61 kB / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.2479, allocations: 0 / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.248, allocations: 0 / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.248, allocations: 0 / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.103e-05/0.2481, allocations: 31.97 kB / 0.9026 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.2485, allocations: 316.7 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.367e-05/0.2486, allocations: 42.58 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.2486, allocations: 28.84 kB / 0.903 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.2486, allocations: 0 / 0.903 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.2488, allocations: 87.41 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.2488, allocations: 0 / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002432/0.2491, allocations: 109.5 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.2491, allocations: 67.34 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.03e-05/0.2492, allocations: 121.8 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.2492, allocations: 33.7 kB / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.2493, allocations: 92.27 kB / 0.9035 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.2493, allocations: 27.66 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.2493, allocations: 4 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.2494, allocations: 322.8 kB / 0.9038 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.602e-05/0.2494, allocations: 16 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.813e-05/0.2495, allocations: 43.42 kB / 0.9039 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.287e-05/0.2495, allocations: 28.25 kB / 0.9039 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2495, allocations: 4 kB / 0.9039 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001242/0.2497, allocations: 109.5 kB / 0.904 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2497, allocations: 4 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.2497, allocations: 0 / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2497, allocations: 4 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.312e-05/0.2498, allocations: 4 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2498, allocations: 7.953 kB / 0.9041 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.2499, allocations: 28.06 kB / 0.9041 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.2499, allocations: 4 kB / 0.9041 GB, free: 59.64 MB / 0.6042 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 7.789e-05/0.25, allocations: 121.8 kB / 0.9042 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.25, allocations: 7.906 kB / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.2501, allocations: 16.36 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2501, allocations: 0 / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2501, allocations: 8 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2501, allocations: 7.953 kB / 0.9042 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.2503, allocations: 189.6 kB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2503, allocations: 0 / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.063e-05/0.2503, allocations: 0 / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2503, allocations: 0 / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2503, allocations: 4 kB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2503, allocations: 0 / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2503, allocations: 0 / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.2505, allocations: 124.9 kB / 0.9045 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.2505, allocations: 92.95 kB / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.2505, allocations: 7.922 kB / 0.9046 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.2506, allocations: 27.97 kB / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.2507, allocations: 11.97 kB / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.2507, allocations: 4.188 kB / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.2508, allocations: 99.64 kB / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2508, allocations: 11.94 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002059/0.251, allocations: 16 kB / 0.9048 GB, free: 58.8 MB / 0.6042 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.0003678/0.2513, allocations: 0.663 MB / 0.9054 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001392/0.2515, allocations: 59.91 kB / 0.9055 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2515, allocations: 4.188 kB / 0.9055 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.755e-05/0.2516, allocations: 31.94 kB / 0.9055 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.2518, allocations: 30.2 kB / 0.9056 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007877/0.2526, allocations: 0.584 MB / 0.9061 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.2528, allocations: 0.6965 MB / 0.9068 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.029e-05/0.2528, allocations: 8.547 kB / 0.9068 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.2529, allocations: 25.69 kB / 0.9069 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2529, allocations: 0 / 0.9069 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.2658, allocations: 2.053 MB / 0.9089 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/0.266, allocations: 211.4 kB / 0.9091 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/1.925, allocations: 3.938 kB / 0.9091 GB, free: 54.48 MB / 0.6042 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)