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.567/1.567, allocations: 252 MB / 267.3 MB, free: 10.85 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.001066/0.001067, allocations: 178.6 kB / 327 MB, free: 2.098 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.232/2.232, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0007381/0.0007385, allocations: 86.38 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003409, allocations: 14.44 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2299, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.001397/0.2313, allocations: 1.162 MB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000377/0.2317, allocations: 216.3 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.2318, allocations: 0 / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.2318, allocations: 7.922 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.406e-05/0.2319, allocations: 15.91 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.232, allocations: 27.86 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.854e-05/0.2321, allocations: 79.77 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2323, allocations: 12.19 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.305e-05/0.2323, allocations: 31.8 kB / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.2324, allocations: 31.91 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.2324, allocations: 0 / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/0.2324, allocations: 4 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.2325, allocations: 15.92 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.2325, allocations: 57.48 kB / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.781e-05/0.2326, allocations: 59.81 kB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2326, allocations: 0 / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2326, allocations: 0 / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2327, allocations: 0 / 0.9026 GB, free: 61.64 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.0005296/0.2332, allocations: 407.5 kB / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2332, allocations: 12.03 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.2333, allocations: 34.73 kB / 0.903 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.2333, allocations: 4.938 kB / 0.903 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.973e-05/0.2334, allocations: 188.2 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.2334, allocations: 384 / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.2335, allocations: 8.375 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.2336, allocations: 61.98 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2336, allocations: 0 / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2336, allocations: 7.922 kB / 0.9033 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2336, allocations: 4 kB / 0.9033 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.688e-05/0.2337, allocations: 31.98 kB / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.2341, allocations: 316.6 kB / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.047e-05/0.2342, allocations: 46.56 kB / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.2342, allocations: 24.86 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.2342, allocations: 0 / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.2344, allocations: 83.41 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.2344, allocations: 0 / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002242/0.2346, allocations: 117.5 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.2347, allocations: 59.39 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.576e-05/0.2348, allocations: 129.7 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.2348, allocations: 29.7 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.2348, allocations: 92.12 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.2348, allocations: 19.89 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.2349, allocations: 4 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.2349, allocations: 330.8 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.648e-05/0.235, allocations: 16 kB / 0.9045 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.04e-05/0.235, allocations: 59.36 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.007e-05/0.2351, allocations: 71.73 kB / 0.9047 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2351, allocations: 3.938 kB / 0.9047 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001168/0.2352, allocations: 97.47 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2352, allocations: 4 kB / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2353, allocations: 8 kB / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2353, allocations: 0 / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.631e-05/0.2353, allocations: 15.92 kB / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2353, allocations: 0 / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.2355, allocations: 31.98 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.2355, allocations: 4 kB / 0.9048 GB, free: 59.11 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.555e-05/0.2355, allocations: 125.8 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.2356, allocations: 7.906 kB / 0.9049 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.2356, allocations: 16.31 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2356, allocations: 0 / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2356, allocations: 0 / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.2356, allocations: 4 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.2357, allocations: 193.5 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2357, allocations: 0 / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.03e-05/0.2358, allocations: 4 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2358, allocations: 0 / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.2358, allocations: 3.984 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2358, allocations: 0 / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2358, allocations: 3.984 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.2359, allocations: 128.9 kB / 0.9053 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.236, allocations: 85.02 kB / 0.9054 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.236, allocations: 4 kB / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.2361, allocations: 23.97 kB / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.2361, allocations: 11.98 kB / 0.9054 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.2362, allocations: 0 / 0.9054 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.839e-05/0.2362, allocations: 99.27 kB / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2362, allocations: 4.188 kB / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001771/0.2364, allocations: 20 kB / 0.9055 GB, free: 58.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000331/0.2367, allocations: 0.6694 MB / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.2369, allocations: 63.86 kB / 0.9062 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2369, allocations: 8.125 kB / 0.9062 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.673e-05/0.2369, allocations: 35.98 kB / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.2372, allocations: 15.98 kB / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009507/0.2381, allocations: 1.438 MB / 0.9077 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.2382, allocations: 0.6887 MB / 0.9084 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.554e-05/0.2383, allocations: 16.55 kB / 0.9084 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.2383, allocations: 19.91 kB / 0.9084 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of SimCode: time 7.82e-07/0.2383, allocations: 0 / 0.9084 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01109/0.2494, allocations: 2.054 MB / 0.9104 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/0.2496, allocations: 228 kB / 0.9106 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.023, allocations: 0 / 0.9106 GB, free: 53.05 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)