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.583/1.583, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001221/0.001221, allocations: 179 kB / 326.5 MB, free: 2.234 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.205/2.205, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.000991/0.0009909, allocations: 102 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003675, allocations: 12.22 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2133, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.00175/0.2151, allocations: 1.122 MB / 0.9013 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005308/0.2157, allocations: 225.6 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.2158, allocations: 4 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.2158, allocations: 0 / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.2159, allocations: 19.91 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.2161, allocations: 15.97 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.2162, allocations: 51.94 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2164, allocations: 12.11 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.55e-05/0.2164, allocations: 31.92 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.631e-05/0.2165, allocations: 27.89 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.2166, allocations: 4 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.675e-05/0.2166, allocations: 4 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.2166, allocations: 11.92 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.2167, allocations: 41.64 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.2168, allocations: 43.89 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2168, allocations: 0 / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2168, allocations: 0 / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2168, allocations: 0 / 0.9017 GB, free: 62.21 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.0006981/0.2175, allocations: 395.3 kB / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.2176, allocations: 16.02 kB / 0.9021 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.2177, allocations: 34.56 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.2177, allocations: 8 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.2178, allocations: 194.8 kB / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.2179, allocations: 4 kB / 0.9024 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.2179, allocations: 4 kB / 0.9024 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.2181, allocations: 69.55 kB / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2181, allocations: 0 / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.2181, allocations: 0 / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2181, allocations: 0 / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.2183, allocations: 31.98 kB / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.2188, allocations: 313.5 kB / 0.9028 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.2189, allocations: 50.56 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.2189, allocations: 0 / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.2191, allocations: 83.41 kB / 0.9029 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.2191, allocations: 4 kB / 0.9029 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.000326/0.2195, allocations: 117.5 kB / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.2195, allocations: 55.36 kB / 0.9031 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.07e-05/0.2196, allocations: 129.8 kB / 0.9032 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.2196, allocations: 25.7 kB / 0.9032 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.2197, allocations: 96.12 kB / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.2197, allocations: 23.8 kB / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.2197, allocations: 4 kB / 0.9033 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.2198, allocations: 318.8 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.793e-05/0.2199, allocations: 24 kB / 0.9036 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.483e-05/0.22, allocations: 51.42 kB / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.465e-05/0.22, allocations: 20.38 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.22, allocations: 0 / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002006/0.2203, allocations: 109.5 kB / 0.9038 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2203, allocations: 6.812 kB / 0.9038 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2203, allocations: 4 kB / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2203, allocations: 0 / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.298e-05/0.2204, allocations: 11.94 kB / 0.9038 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.2204, allocations: 3.938 kB / 0.9038 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.2206, allocations: 31.92 kB / 0.9039 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.2206, allocations: 4 kB / 0.9039 GB, free: 59.77 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 8.466e-05/0.2207, allocations: 121.9 kB / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.2208, allocations: 11.91 kB / 0.904 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.026e-05/0.2208, allocations: 16.36 kB / 0.904 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2208, allocations: 0 / 0.904 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2208, allocations: 0 / 0.904 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2208, allocations: 0 / 0.904 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.221, allocations: 193.5 kB / 0.9042 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.221, allocations: 0 / 0.9042 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.347e-05/0.221, allocations: 4 kB / 0.9042 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.2211, allocations: 4 kB / 0.9042 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.2211, allocations: 0 / 0.9042 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2211, allocations: 0 / 0.9042 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.2211, allocations: 0 / 0.9042 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.2213, allocations: 128.9 kB / 0.9043 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.2213, allocations: 84.95 kB / 0.9044 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.2214, allocations: 4 kB / 0.9044 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.2216, allocations: 31.97 kB / 0.9045 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.2216, allocations: 15.97 kB / 0.9045 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.2216, allocations: 0 / 0.9045 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.716e-05/0.2217, allocations: 99.27 kB / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2217, allocations: 192 / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003421/0.2221, allocations: 20 kB / 0.9046 GB, free: 58.96 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.0004066/0.2225, allocations: 0.6649 MB / 0.9052 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001809/0.2227, allocations: 67.86 kB / 0.9053 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2227, allocations: 0 / 0.9053 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.739e-05/0.2228, allocations: 31.98 kB / 0.9053 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.2231, allocations: 20.17 kB / 0.9053 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.2245, allocations: 1.043 MB / 0.9064 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.2248, allocations: 0.6965 MB / 0.907 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.614e-05/0.2249, allocations: 8.562 kB / 0.9071 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.82e-05/0.225, allocations: 27.36 kB / 0.9071 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of SimCode: time 1.172e-06/0.225, allocations: 4 kB / 0.9071 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.2392, allocations: 2.04 MB / 0.9091 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/0.2395, allocations: 198 kB / 0.9093 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/1.765, allocations: 0 / 0.9093 GB, free: 54.18 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)