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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.394/1.394, allocations: 252 MB / 268 MB, free: 10.86 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.001032/0.001032, allocations: 178.4 kB / 327.6 MB, free: 2.102 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.969/1.969, allocations: 205.4 MB / 0.5786 GB, free: 20.42 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.0008521/0.0008519, allocations: 90.06 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003967, allocations: 10.91 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2131, allocations: 106.3 MB / 0.9015 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.001623/0.2148, allocations: 1.154 MB / 0.9026 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000505/0.2153, allocations: 225.5 kB / 0.9028 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.347e-05/0.2154, allocations: 0 / 0.9028 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.2154, allocations: 7.922 kB / 0.9028 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.2155, allocations: 7.922 kB / 0.9028 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.2157, allocations: 23.92 kB / 0.9028 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.2158, allocations: 83.7 kB / 0.9029 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.216, allocations: 12.19 kB / 0.9029 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.363e-05/0.2161, allocations: 31.84 kB / 0.903 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.564e-05/0.2161, allocations: 31.84 kB / 0.903 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.2162, allocations: 4 kB / 0.903 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.2162, allocations: 4 kB / 0.903 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.2162, allocations: 11.92 kB / 0.903 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.053e-05/0.2163, allocations: 53.56 kB / 0.9031 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.686e-05/0.2164, allocations: 51.83 kB / 0.9031 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2164, allocations: 3.984 kB / 0.9031 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2164, allocations: 0 / 0.9031 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.2164, allocations: 4 kB / 0.9031 GB, free: 62.08 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.0005855/0.217, allocations: 395.5 kB / 0.9035 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.217, allocations: 12.03 kB / 0.9035 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.2171, allocations: 12.84 kB / 0.9035 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.2172, allocations: 176.2 kB / 0.9037 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.2172, allocations: 8.375 kB / 0.9037 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.2173, allocations: 8.312 kB / 0.9037 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.2174, allocations: 62.17 kB / 0.9038 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.2174, allocations: 7.938 kB / 0.9038 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.2174, allocations: 0 / 0.9038 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.2174, allocations: 0 / 0.9038 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.741e-05/0.2175, allocations: 27.98 kB / 0.9038 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.218, allocations: 320.6 kB / 0.9041 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.602e-05/0.2181, allocations: 46.56 kB / 0.9042 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.2181, allocations: 24.84 kB / 0.9042 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.2181, allocations: 0 / 0.9042 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.2183, allocations: 95.55 kB / 0.9043 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.2183, allocations: 0 / 0.9043 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002372/0.2186, allocations: 113.5 kB / 0.9044 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.2186, allocations: 51.41 kB / 0.9044 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.969e-05/0.2187, allocations: 129.8 kB / 0.9046 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.2187, allocations: 29.7 kB / 0.9046 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.2187, allocations: 92.05 kB / 0.9047 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.2188, allocations: 23.73 kB / 0.9047 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.2188, allocations: 0 / 0.9047 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.42e-05/0.2188, allocations: 326.8 kB / 0.905 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.694e-05/0.2189, allocations: 23.94 kB / 0.905 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.133e-05/0.219, allocations: 50.17 kB / 0.9051 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.543e-05/0.2191, allocations: 75.67 kB / 0.9051 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2191, allocations: 0 / 0.9051 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001321/0.2192, allocations: 101.5 kB / 0.9052 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2192, allocations: 8 kB / 0.9052 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2192, allocations: 0 / 0.9052 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.2193, allocations: 4 kB / 0.9053 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.019e-05/0.2193, allocations: 7.938 kB / 0.9053 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2193, allocations: 3.984 kB / 0.9053 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.2195, allocations: 27.98 kB / 0.9053 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-06/0.2195, allocations: 8 kB / 0.9053 GB, free: 59.61 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 7.127e-05/0.2195, allocations: 121.8 kB / 0.9054 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.2196, allocations: 4 kB / 0.9054 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.2196, allocations: 12.36 kB / 0.9054 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2196, allocations: 0 / 0.9054 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2196, allocations: 4 kB / 0.9054 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2196, allocations: 8 kB / 0.9054 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.2198, allocations: 201.4 kB / 0.9056 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2198, allocations: 4 kB / 0.9056 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.2198, allocations: 0 / 0.9056 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2198, allocations: 0 / 0.9056 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.2198, allocations: 0 / 0.9056 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2198, allocations: 7.984 kB / 0.9056 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2198, allocations: 0 / 0.9056 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.22, allocations: 128.9 kB / 0.9058 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.22, allocations: 88.95 kB / 0.9059 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.22, allocations: 4.172 kB / 0.9059 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.2201, allocations: 19.98 kB / 0.9059 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.2202, allocations: 19.91 kB / 0.9059 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.2202, allocations: 4 kB / 0.9059 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.02e-05/0.2203, allocations: 99.27 kB / 0.906 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.82e-07/0.2203, allocations: 4 kB / 0.906 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001865/0.2205, allocations: 15.94 kB / 0.906 GB, free: 58.79 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.000119/0.2206, allocations: 105 kB / 0.9061 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.2207, allocations: 71.78 kB / 0.9062 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2207, allocations: 0 / 0.9062 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.251e-05/0.2208, allocations: 32 kB / 0.9062 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.2211, allocations: 28.16 kB / 0.9062 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.2214, allocations: 228.7 kB / 0.9065 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.2216, allocations: 0.6926 MB / 0.9071 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.2216, allocations: 19.44 kB / 0.9072 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.2216, allocations: 0 / 0.9072 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.002598/0.2242, allocations: 1.195 MB / 0.9083 GB, free: 56.37 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)