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.408/1.408, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001065/0.001066, allocations: 162.8 kB / 326.5 MB, free: 2.676 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.925/1.925, allocations: 205 MB / 0.5766 GB, free: 20.59 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.0007424/0.0007425, allocations: 95.66 kB / 0.6804 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003173, allocations: 11.44 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1935, allocations: 105.4 MB / 0.8968 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.001367/0.1949, allocations: 1.162 MB / 0.8979 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003707/0.1953, allocations: 225.1 kB / 0.8981 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.1954, allocations: 0 / 0.8981 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.1954, allocations: 3.938 kB / 0.8981 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.243e-05/0.1955, allocations: 15.84 kB / 0.8981 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.1956, allocations: 19.98 kB / 0.8981 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.326e-05/0.1957, allocations: 83.72 kB / 0.8982 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1958, allocations: 16.39 kB / 0.8982 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.898e-05/0.1959, allocations: 27.86 kB / 0.8983 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/0.196, allocations: 31.83 kB / 0.8983 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.196, allocations: 4 kB / 0.8983 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.196, allocations: 4 kB / 0.8983 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.196, allocations: 11.94 kB / 0.8983 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.1961, allocations: 27.86 kB / 0.8983 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.789e-05/0.1961, allocations: 51.89 kB / 0.8984 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1962, allocations: 0 / 0.8984 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.542e-06/0.1962, allocations: 0 / 0.8984 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.1962, allocations: 0 / 0.8984 GB, free: 65.96 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.0005175/0.1967, allocations: 407.2 kB / 0.8988 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1967, allocations: 12.03 kB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.1968, allocations: 12.78 kB / 0.8988 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1969, allocations: 184.1 kB / 0.899 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.1969, allocations: 8.375 kB / 0.899 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.1969, allocations: 8.312 kB / 0.899 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.1971, allocations: 62.22 kB / 0.8991 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1971, allocations: 3.938 kB / 0.8991 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1971, allocations: 4 kB / 0.8991 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1971, allocations: 4 kB / 0.8991 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.228e-05/0.1972, allocations: 31.92 kB / 0.8991 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.1975, allocations: 308.7 kB / 0.8994 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.928e-05/0.1976, allocations: 50.59 kB / 0.8994 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.1976, allocations: 20.86 kB / 0.8995 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.1977, allocations: 4 kB / 0.8995 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.1978, allocations: 87.36 kB / 0.8995 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.1978, allocations: 0 / 0.8995 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002063/0.198, allocations: 113.5 kB / 0.8997 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.1981, allocations: 51.41 kB / 0.8997 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.1981, allocations: 129.8 kB / 0.8998 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.1982, allocations: 25.7 kB / 0.8999 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.1982, allocations: 104.2 kB / 0.9 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.1982, allocations: 15.81 kB / 0.9 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.1982, allocations: 25.64 kB / 0.9 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.505e-05/0.1983, allocations: 326.8 kB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.423e-05/0.1983, allocations: 12 kB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/0.1984, allocations: 51.42 kB / 0.9004 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.892e-05/0.1985, allocations: 75.67 kB / 0.9004 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1985, allocations: 0 / 0.9004 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001451/0.1986, allocations: 101.5 kB / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1986, allocations: 4 kB / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1987, allocations: 0 / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1987, allocations: 11.94 kB / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.263e-05/0.1987, allocations: 12.08 kB / 0.9006 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1987, allocations: 4 kB / 0.9006 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.1989, allocations: 31.83 kB / 0.9006 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.1989, allocations: 0 / 0.9006 GB, free: 63.46 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,logicalSwitch.y,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,booPul1.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.374e-05/0.1989, allocations: 129.7 kB / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.199, allocations: 11.98 kB / 0.9007 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.199, allocations: 8.375 kB / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.199, allocations: 4 kB / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.199, allocations: 0 / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.199, allocations: 0 / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.1991, allocations: 197.5 kB / 0.9009 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1991, allocations: 0 / 0.9009 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-06/0.1992, allocations: 0 / 0.9009 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1992, allocations: 0 / 0.9009 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.1992, allocations: 8 kB / 0.9009 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1992, allocations: 0 / 0.9009 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1992, allocations: 7.984 kB / 0.9009 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.1993, allocations: 120.9 kB / 0.9011 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.1993, allocations: 89 kB / 0.9011 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.1994, allocations: 4 kB / 0.9011 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1995, allocations: 19.98 kB / 0.9012 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.1995, allocations: 15.97 kB / 0.9012 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.423e-06/0.1995, allocations: 7.984 kB / 0.9012 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.734e-05/0.1996, allocations: 99.7 kB / 0.9013 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.71e-07/0.1996, allocations: 0 / 0.9013 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001835/0.1998, allocations: 27.88 kB / 0.9013 GB, free: 62.62 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 9.648e-05/0.1999, allocations: 96.38 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.2, allocations: 71.84 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2, allocations: 4.188 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.881e-05/0.2001, allocations: 39.92 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.2003, allocations: 18.38 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.2007, allocations: 229.9 kB / 0.9018 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.2008, allocations: 0.6887 MB / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.2008, allocations: 15.44 kB / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2008, allocations: 0 / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.00227/0.2031, allocations: 1.195 MB / 0.9036 GB, free: 60.22 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)