Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.951/1.951, allocations: 287.5 MB / 302.6 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001174, allocations: 188.5 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.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.0007383, allocations: 92.72 kB / 0.7432 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003722, allocations: 14.05 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2066, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.0007785/0.2074, allocations: 434.3 kB / 0.9791 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2087, allocations: 1.235 MB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.2087, allocations: 0 / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.2087, allocations: 7.938 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.2088, allocations: 15.84 kB / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006923/0.2095, allocations: 277.6 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.2097, allocations: 199.6 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.3e-05/0.2098, allocations: 20.17 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.615e-05/0.2098, allocations: 83.81 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.962e-05/0.21, allocations: 63.83 kB / 0.981 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.21, allocations: 12 kB / 0.981 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.41e-05/0.2101, allocations: 31.92 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.2101, allocations: 11.98 kB / 0.981 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.078e-05/0.2102, allocations: 45.64 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.2103, allocations: 159.8 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2103, allocations: 3.938 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2103, allocations: 4 kB / 0.9812 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2103, allocations: 0 / 0.9812 GB, free: 25.56 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004039/0.2107, allocations: 456.4 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.2108, allocations: 8.031 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.2109, allocations: 20.83 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.881e-05/0.211, allocations: 168.3 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.211, allocations: 8.375 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.211, allocations: 12.38 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.2111, allocations: 58.22 kB / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2112, allocations: 11.88 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.2112, allocations: 0 / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2112, allocations: 4 kB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.51e-05/0.2112, allocations: 16 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.2117, allocations: 424.5 kB / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.225e-05/0.2118, allocations: 42.42 kB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.2118, allocations: 20.86 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/0.2118, allocations: 0 / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.212, allocations: 103.3 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.212, allocations: 0 / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002529/0.2122, allocations: 133.5 kB / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.2123, allocations: 55.41 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.766e-05/0.2124, allocations: 135.4 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.2124, allocations: 33.7 kB / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.2125, allocations: 100 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.2125, allocations: 27.75 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/0.2125, allocations: 8 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.863e-05/0.2126, allocations: 326.8 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.2127, allocations: 84.33 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.2129, allocations: 140.2 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.2131, allocations: 235 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2131, allocations: 0 / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004542/0.2136, allocations: 372.1 kB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.2136, allocations: 105.1 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2137, allocations: 4 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2137, allocations: 0 / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.231e-05/0.2137, allocations: 4 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2137, allocations: 4 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.2142, allocations: 124.5 kB / 0.9843 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.2143, allocations: 15.98 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,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): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.597e-05/0.2144, allocations: 129.8 kB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.2144, allocations: 7.906 kB / 0.9845 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.2144, allocations: 12.38 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2144, allocations: 4 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2144, allocations: 3.984 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2144, allocations: 0 / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.2145, allocations: 193.5 kB / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.2146, allocations: 0 / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.907e-06/0.2146, allocations: 0 / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2146, allocations: 7.984 kB / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2146, allocations: 0 / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2146, allocations: 7.875 kB / 0.9847 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2146, allocations: 0 / 0.9847 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.2148, allocations: 144.9 kB / 0.9848 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.2148, allocations: 89 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.2148, allocations: 0 / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.132e-05/0.2148, allocations: 0 / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.2149, allocations: 11.98 kB / 0.9849 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.2149, allocations: 4 kB / 0.9849 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.683e-05/0.2149, allocations: 97.52 kB / 0.985 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2149, allocations: 4 kB / 0.985 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002213/0.2152, allocations: 47.91 kB / 0.9851 GB, free: 21.2 MB / 0.6198 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,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.0001537/0.2153, allocations: 107.2 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003516/0.2157, allocations: 366 kB / 0.9855 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2157, allocations: 3.938 kB / 0.9855 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.412e-05/0.2157, allocations: 35.98 kB / 0.9856 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.216, allocations: 24.3 kB / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.2163, allocations: 203.5 kB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.2164, allocations: 0.7004 MB / 0.9865 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.957e-05/0.2164, allocations: 8.438 kB / 0.9865 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.2165, allocations: 11.44 kB / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of SimCode: time 2.01e-07/0.2165, allocations: 0 / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.004324/0.2208, allocations: 2.419 MB / 0.9888 GB, free: 17.28 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)